- Sort Score
- Num 10 results
- Language All
Results 261 - 270 of 1,112 for SuppressWarnings (0.08 seconds)
-
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutAllMultimapTester.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") public class MultimapPutAllMultimapTester<K, V> extends AbstractMultimapTester<K, V, Multimap<K, V>> { @MapFeature.Require(absent = SUPPORTS_PUT) public void testPutUnsupported() {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Feb 12 21:10:54 GMT 2025 - 4.2K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapPutAllMultimapTester.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") public class MultimapPutAllMultimapTester<K, V> extends AbstractMultimapTester<K, V, Multimap<K, V>> { @MapFeature.Require(absent = SUPPORTS_PUT) public void testPutUnsupported() {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Feb 12 21:10:54 GMT 2025 - 4.2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java
} protected Collection<Method> suppressForAbstractSequentialList() { return emptySet(); } protected Collection<Method> suppressForVector() { return emptySet(); } @SuppressWarnings("EmptyList") // We specifically want to test emptyList() public Test testsForEmptyList() { return ListTestSuiteBuilder.using( new TestStringListGenerator() { @Override
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Sep 04 15:04:05 GMT 2025 - 12K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java
} protected Collection<Method> suppressForAbstractSequentialList() { return emptySet(); } protected Collection<Method> suppressForVector() { return emptySet(); } @SuppressWarnings("EmptyList") // We specifically want to test emptyList() public Test testsForEmptyList() { return ListTestSuiteBuilder.using( new TestStringListGenerator() { @Override
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Sep 04 15:04:05 GMT 2025 - 12.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MapsTest.java
* @author Mike Bostock * @author Jared Levy */ @GwtCompatible @NullMarked @SuppressWarnings("JUnitIncompatibleType") // Many intentional violations here. public class MapsTest extends TestCase { private static final Comparator<Integer> SOME_COMPARATOR = Collections.reverseOrder(); public void testHashMap() { @SuppressWarnings("UseCollectionConstructor") // test of factory methodCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 22:56:33 GMT 2025 - 62.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Sets.java
* href="https://docs.oracle.com/javase/tutorial/java/generics/genTypeInference.html#type-inference-instantiation">"diamond" * syntax</a>. */ @SuppressWarnings("NonApiType") // acts as a direct substitute for a constructor call public static <E extends @Nullable Object> HashSet<E> newHashSet() { return new HashSet<>(); } /**
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 81.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/JoinerTest.java
/* * Both of these fields *are* immutable/constant. They don't use the type ImmutableList because * they need to behave slightly differently. */ @SuppressWarnings("ConstantCaseForConstants") private static final List<Integer> UNDERREPORTING_SIZE_LIST; @SuppressWarnings("ConstantCaseForConstants") private static final List<Integer> OVERREPORTING_SIZE_LIST; static { List<Integer> collection123 = Arrays.asList(1, 2, 3);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 12.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
// Use reflection to access concurrent collections Field connectionsField = SmbTransportPoolImpl.class.getDeclaredField("connections"); connectionsField.setAccessible(true); @SuppressWarnings("unchecked") java.util.concurrent.ConcurrentLinkedQueue<SmbTransportImpl> connections = (java.util.concurrent.ConcurrentLinkedQueue<SmbTransportImpl>) connectionsField.get(pool);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 19.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/SourceSinkFactories.java
return file; } File getFile() { return fileThreadLocal.get(); } // acts as an override in subclasses that implement SourceSinkFactory @SuppressWarnings("EffectivelyPrivate") public final void tearDown() throws IOException { if (!fileThreadLocal.get().delete()) { logger.warning("Unable to delete file: " + fileThreadLocal.get()); }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Jul 16 17:42:14 GMT 2025 - 17.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/RegularImmutableTable.java
} return false; } @Override boolean isPartialView() { return false; } // redeclare to help optimizers with b/310253115 @SuppressWarnings("RedundantOverride") @Override @J2ktIncompatible @GwtIncompatible Object writeReplace() { return super.writeReplace(); } } abstract V getValue(int iterationIndex);Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 7K bytes - Click Count (0)