- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 969 for SuppressWarnings (0.06 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionSpliteratorTester.java
*/ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") @IgnoreJRERequirement // We opt into library desugaring for our tests. public class CollectionSpliteratorTester<E> extends AbstractCollectionTester<E> {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 3.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/AbstractBiMapTester.java
@GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") @NullMarked public abstract class AbstractBiMapTester<K extends @Nullable Object, V extends @Nullable Object> extends AbstractMapTester<K, V> { @OverrideRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.3K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/CacheBuilder.java
@Nullable Strength keyStrength; @Nullable Strength valueStrength; @SuppressWarnings("GoodTime") // should be a Duration long expireAfterWriteNanos = UNSET_INT; @SuppressWarnings("GoodTime") // should be a Duration long expireAfterAccessNanos = UNSET_INT; @SuppressWarnings("GoodTime") // should be a Duration long refreshNanos = UNSET_INT;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 08 18:55:33 UTC 2025 - 51.9K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java
static class EmptyTestSuite {} static class Foo {} @SuppressWarnings("IdentifierName") // We're testing that we ignore classes with underscores. static class Foo_Bar {} public static class PublicFoo {} static class FooTest { @SuppressWarnings("unused") // accessed reflectively public void testPublic() {} @SuppressWarnings("unused") // accessed reflectively void testNotPublic() {} }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 28 02:48:50 UTC 2024 - 5.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/DerivedGoogleCollectionGenerators.java
public Iterable<Entry<K, V>> order(List<Entry<K, V>> insertionOrder) { return generator.order(insertionOrder); } @SuppressWarnings("unchecked") @Override public K[] createKeyArray(int length) { return (K[]) new Object[length]; } @SuppressWarnings("unchecked") @Override public V[] createValueArray(int length) { return (V[]) new Object[length]; } @Override
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 6.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/TestStringBiMapGenerator.java
mapEntry("five", "May")); } @Override public final BiMap<String, String> create(Object... entries) { @SuppressWarnings("unchecked") Entry<String, String>[] array = (Entry<String, String>[]) new Entry<?, ?>[entries.length]; int i = 0; for (Object o : entries) { @SuppressWarnings("unchecked") Entry<String, String> e = (Entry<String, String>) o; array[i++] = e; } return create(array);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 2.6K bytes - Viewed (0) -
guava/src/com/google/common/graph/GraphsBridgeMethods.java
*/ @Beta abstract class GraphsBridgeMethods { @SuppressWarnings("PreferredInterfaceType") public static <N> Graph<N> transitiveClosure(Graph<N> graph) { return Graphs.transitiveClosure(graph); } @SuppressWarnings("PreferredInterfaceType") public static <N> Set<N> reachableNodes(Graph<N> graph, N node) { return Graphs.reachableNodes(graph, node);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 674 bytes - Viewed (0) -
guava/src/com/google/common/collect/RegularImmutableBiMap.java
import org.jspecify.annotations.Nullable; /** * Bimap with zero or more mappings. * * @author Louis Wasserman */ @GwtCompatible @SuppressWarnings("serial") // uses writeReplace(), not default serialization final class RegularImmutableBiMap<K, V> extends ImmutableBiMap<K, V> { @SuppressWarnings("unchecked") // TODO(cpovirk): Consider storing Entry<?, ?>[] instead. static final RegularImmutableBiMap<Object, Object> EMPTY =Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 21:07:18 UTC 2025 - 11K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/CrawlingParameterUtilTest.java
// Set to null CrawlingParameterUtil.setCrawlerContext(null); // Should be null now assertNull(CrawlingParameterUtil.getCrawlerContext()); } @SuppressWarnings("unchecked") public void test_urlQueueService_setAndGet() { // Initially should be null assertNull(CrawlingParameterUtil.getUrlQueueService()); // Create a mock UrlQueueServiceRegistered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 14.6K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java
listenerLatch = new CountDownLatch(numListeners * NUM_THREADS); for (int j = 0; j < NUM_THREADS; j++) { @SuppressWarnings("unused") // https://errorprone.info/bugpattern/FutureReturnValueIgnored Future<?> possiblyIgnoredError = executorService.submit(addTask); } @SuppressWarnings("unused") // https://errorprone.info/bugpattern/FutureReturnValueIgnored
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 15.8K bytes - Viewed (0)