- Sort Score
- Result 10 results
- Languages All
Results 261 - 270 of 969 for SuppressWarnings (0.08 sec)
-
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()); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 17.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ArrayTable.java
* * @author Jared Levy * @since 10.0 */ // We explicitly list `implements Table<...>` so that its `@Nullable V` appears in Javadoc. @SuppressWarnings("RedundancyRemover") @GwtCompatible public final class ArrayTable<R, C, V> extends AbstractTable<R, C, @Nullable V> implements Table<R, C, @Nullable V>, Serializable { /**
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Aug 13 19:39:21 UTC 2025 - 26.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapIsEmptyTester.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 MapIsEmptyTester<K, V> extends AbstractMapTester<K, V> { @CollectionSize.Require(ZERO) public void testIsEmpty_yes() {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 1.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapReplaceValuesTester.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 ListMultimapReplaceValuesTester<K, V> extends AbstractListMultimapTester<K, V> { @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE}) public void testReplaceValuesPreservesOrder() {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 1.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapFeature.java
import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.util.Set; /** * Optional features of classes derived from {@code Multimap}. * * @author Louis Wasserman */ @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package? @GwtCompatible public enum MultimapFeature implements Feature<Multimap> { VALUE_COLLECTIONS_SUPPORT_ITERATOR_REMOVE;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Jan 30 16:59:10 UTC 2025 - 1.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/SetMultimapReplaceValuesTester.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 SetMultimapReplaceValuesTester<K, V> extends AbstractMultimapTester<K, V, SetMultimap<K, V>> { @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE})Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 1.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListGetTester.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 ListGetTester<E> extends AbstractListTester<E> { public void testGet_valid() { // This calls get() on each index and checks the result: expectContents(createOrderedArray());Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 1.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/NullPointerTester.java
// We assume that all defaults are generics-safe, even if they aren't, // we take the risk. @SuppressWarnings("unchecked") T defaultValue = (T) defaults.getInstance(type.getRawType()); if (defaultValue != null) { return defaultValue; } @SuppressWarnings("unchecked") // All arbitrary instances are generics-safe T arbitrary = (T) ArbitraryInstances.get(type.getRawType());
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 24.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
Class<? super T> rawType = type.getRawType(); @SuppressWarnings("unchecked") // Assume all default values are generics safe. T defaultValue = (T) defaultValues.getInstance(rawType); if (defaultValue != null) { return defaultValue; } @SuppressWarnings("unchecked") // ArbitraryInstances always returns generics-safe dummies.
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 32.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java
* comparable. This implementation passes the navigable set test suites. * * @author Louis Wasserman */ @GwtIncompatible public final class SafeTreeSet<E> implements Serializable, NavigableSet<E> { @SuppressWarnings("unchecked") private static final Comparator<Object> NATURAL_ORDER = new Comparator<Object>() { @Override public int compare(Object o1, Object o2) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 5.8K bytes - Viewed (0)