- Sort Score
- Num 10 results
- Language All
Results 311 - 320 of 1,040 for instead (0.04 seconds)
-
compat/maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepositoryPolicy.java
import java.util.Date; /** * Describes a set of policies for a repository to use under certain conditions. * * @deprecated Avoid use of this type, if you need access to local repository use repository system session instead. */ @Deprecated public class ArtifactRepositoryPolicy { public static final String UPDATE_POLICY_NEVER = "never"; public static final String UPDATE_POLICY_ALWAYS = "always";Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 5.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RecordingExecutor.kt
import java.util.concurrent.TimeUnit import okhttp3.internal.connection.RealCall import okhttp3.internal.finishedAccessor /** * A fake executor for testing that never executes anything! Instead, it just keeps track of what's * been enqueued. */ internal class RecordingExecutor( private val dispatcherTest: DispatcherTest, ) : AbstractExecutorService() { private var shutdown: Boolean = false
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Oct 06 18:34:01 GMT 2025 - 2.2K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultPathTranslator.java
import javax.inject.Named; import javax.inject.Singleton; import java.io.File; /** * Resolves relative paths against a specific base directory. * * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead */ @Named @Singleton @Deprecated(since = "4.0.0") public class DefaultPathTranslator implements PathTranslator { @Override public String alignToBaseDirectory(String path, File basedir) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 2.1K bytes - Click Count (0) -
android/guava/src/com/google/common/io/CountingOutputStream.java
out.write(b); count++; } // Overriding close() because FilterOutputStream's close() method pre-JDK8 has bad behavior: // it silently ignores any exception thrown by flush(). Instead, just close the delegate stream. // It should flush itself if necessary. @Override public void close() throws IOException { out.close(); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 1.9K bytes - Click Count (0) -
docs/en/docs/python-types.md
If you are using a Python version below 3.10, here's a tip from my very **subjective** point of view: * 🚨 Avoid using `Optional[SomeType]` * Instead ✨ **use `Union[SomeType, None]`** ✨.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 15.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableCollection.java
* {@link ImmutableList}) instead of the general collection interface type (such as {@link List}). * This communicates to your callers all of the semantic guarantees listed above, which is almost * always very useful information. * * <p>On the other hand, a <i>parameter</i> type of {@link ImmutableList} is generally a nuisance toCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 21.4K bytes - Click Count (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/validation/SettingsValidator.java
import org.apache.maven.settings.building.SettingsProblemCollector; /** * Validate a model settings * * @deprecated since 4.0.0, use {@code org.apache.maven.impl.DefaultSettingsValidator} instead */ @Deprecated(since = "4.0.0") public interface SettingsValidator { /** * Validate the specified settings. * * @param settings The settings to validate, must not be {@code null}.Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 2K bytes - Click Count (0) -
compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/ToolchainsWriter.java
/** * Handles serialization of toolchains into some kind of textual format like XML. * * @deprecated since 4.0.0, use {@code org.apache.maven.api.services.xml.ToolchainsXmlFactory} instead */ @Deprecated(since = "4.0.0") public interface ToolchainsWriter { /** * Writes the supplied toolchains to the specified character writer. The writer will be automatically closed beforeCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Mar 05 09:37:42 GMT 2025 - 1.8K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenArtifactRelocationSource.java
* explicitly order implementations using Sisu priorities. * * @since 4.0.0 * @deprecated since 4.0.0, use {@code maven-api-impl} jar instead */ @Deprecated(since = "4.0.0") public interface MavenArtifactRelocationSource { /** * Returns {@link Artifact} instance where to relocate to, or {@code null}. *Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2K bytes - Click Count (0) -
guava/src/com/google/common/base/Internal.java
@J2ktIncompatible @GwtIncompatible // java.time.Duration final class Internal { /** * Returns the number of nanoseconds of the given duration without throwing or overflowing. * * <p>Instead of throwing {@link ArithmeticException}, this method silently saturates to either * {@link Long#MAX_VALUE} or {@link Long#MIN_VALUE}. This behavior can be useful when decomposingCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Apr 14 15:16:19 GMT 2025 - 1.9K bytes - Click Count (0)