- Sort Score
- Num 10 results
- Language All
Results 971 - 980 of 1,450 for SuppressWarnings (0.2 seconds)
-
android/guava/src/com/google/common/reflect/ImmutableTypeToInstanceMap.java
throw new UnsupportedOperationException(); } @Override protected Map<TypeToken<? extends B>, B> delegate() { return delegate; } @SuppressWarnings("unchecked") // value could not get in if not a T private <T extends B> @Nullable T trustedGet(TypeToken<T> type) { return (T) delegate.get(type); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 5.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ForwardingNavigableSetTest.java
CollectionFeature.GENERAL_PURPOSE, CollectionFeature.ALLOWS_NULL_VALUES) .createTestSuite()); return suite; } @SuppressWarnings({"rawtypes", "unchecked"}) public void testForwarding() { new ForwardingWrapperTester() .testForwarding( NavigableSet.class, new Function<NavigableSet, NavigableSet>() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 7K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/factory/DefaultArtifactFactory.java
import org.apache.maven.artifact.handler.manager.ArtifactHandlerManager; import org.apache.maven.artifact.versioning.VersionRange; /** * DefaultArtifactFactory * */ @Named @Singleton @SuppressWarnings("checkstyle:parameternumber") public class DefaultArtifactFactory implements ArtifactFactory { private final ArtifactHandlerManager artifactHandlerManager; @InjectCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 7.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java
import org.jspecify.annotations.Nullable; /** * Tests for {@link ImmutableSortedMap}. * * @author Kevin Bourrillion * @author Jesse Wilson * @author Jared Levy */ @GwtCompatible @SuppressWarnings("AlwaysThrows") @NullMarked public class ImmutableSortedMapTest extends TestCase { // TODO: Avoid duplicating code in ImmutableMapTest @J2ktIncompatible @GwtIncompatible // suiteCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 29.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/EmptyContiguousSet.java
import java.util.NoSuchElementException; import java.util.Set; import org.jspecify.annotations.Nullable; /** * An empty contiguous set. * * @author Gregory Kick */ @GwtCompatible @SuppressWarnings("rawtypes") // allow ungenerified Comparable types final class EmptyContiguousSet<C extends Comparable> extends ContiguousSet<C> { EmptyContiguousSet(DiscreteDomain<C> domain) { super(domain); } @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 4.1K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/TestWithSslPlugin.java
File clientCertificate = new File(keyMaterialDir, "test-client.crt"); File clientKey = new File(keyMaterialDir, "test-client.key"); @SuppressWarnings("unchecked") NamedDomainObjectContainer<ElasticsearchCluster> clusters = (NamedDomainObjectContainer<ElasticsearchCluster>) project .getExtensions()
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 6.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableMapEntrySet.java
} @Override ImmutableList<Entry<K, V>> createAsList() { return new RegularImmutableAsList<>(this, entries); } // redeclare to help optimizers with b/310253115 @SuppressWarnings("RedundantOverride") @Override @J2ktIncompatible @GwtIncompatible Object writeReplace() { return super.writeReplace(); } } ImmutableMapEntrySet() {}Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 4.3K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraphEdge.java
} // ---------------------------------------------------------------------------- /** * used to eliminate exact duplicates in the edge list */ @Override @SuppressWarnings("checkstyle:equalshashcode") public boolean equals(Object o) { if (o instanceof MetadataGraphEdge e) { return objectsEqual(version, e.version)Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jan 10 08:42:00 GMT 2025 - 4.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java
import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Unit test for {@link Files#createTempDir}. * * @author Chris Nokleberg */ @SuppressWarnings("deprecation") // tests of a deprecated method @NullUnmarked public class FilesCreateTempDirTest extends TestCase { public void testCreateTempDir() throws IOException { File temp = Files.createTempDir(); try {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Sep 25 19:16:54 GMT 2025 - 4.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java
* Tests for {@link FluentFuture}. The tests cover only the basics for the API. The actual logic is * tested in {@link FuturesTest}. */ @NullMarked @GwtCompatible public class FluentFutureTest extends TestCase { @SuppressWarnings({"deprecation", "InlineMeInliner"}) // test of a deprecated method public void testFromFluentFuture() { FluentFuture<String> f = FluentFuture.from(SettableFuture.create());Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 4.7K bytes - Click Count (0)