- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 985 for SuppressWarnings (0.06 sec)
-
guava-tests/test/com/google/common/reflect/TypeTokenTest.java
} public void testAssignableParameterizedTypeToClass() { @SuppressWarnings("rawtypes") // Trying to test raw class TypeToken<List> tokL = new TypeToken<List>() {}; assertTrue(tokL.isSupertypeOf(StringList.class)); assertTrue(tokL.isSupertypeOf(StringList.class.getGenericInterfaces()[0])); @SuppressWarnings("rawtypes") // Trying to test raw class TypeToken<Second> tokS = new TypeToken<Second>() {};
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Sep 02 17:23:59 UTC 2025 - 89K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java
executor.shutdown(); } public void testCallableStartsAfterFirstFutureCompletes() { @SuppressWarnings({"unused", "nullness"}) Future<?> possiblyIgnoredError = serializer.submitAsync(firstCallable, directExecutor()); TestCallable secondCallable = new TestCallable(Futures.<Void>immediateFuture(null)); @SuppressWarnings({"unused", "nullness"})
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 20:58:01 UTC 2025 - 16.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMapValues.java
} @Override ImmutableCollection<V> delegateCollection() { return ImmutableMapValues.this; } // redeclare to help optimizers with b/310253115 @SuppressWarnings("RedundantOverride") @Override @J2ktIncompatible @GwtIncompatible Object writeReplace() { return super.writeReplace(); } }; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 3.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeRangeMap.java
return this; } else { return new SubRangeMap(subRange); } } @SuppressWarnings("unchecked") private RangeMap<K, V> emptySubRangeMap() { return (RangeMap<K, V>) (RangeMap<?, ?>) EMPTY_SUB_RANGE_MAP; } @SuppressWarnings("ConstantCaseForConstants") // This RangeMap is immutable. private static final RangeMap<Comparable<?>, Object> EMPTY_SUB_RANGE_MAP =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 18 15:05:43 UTC 2025 - 22.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java
for (Object element : elements) { @SuppressWarnings("unchecked") Entry<String, Integer> entry = (Entry<String, Integer>) element; multimap.put(entry.getKey(), entry.getValue()); } return multimap.entries(); } abstract Multimap<String, Integer> createMultimap(); @Override @SuppressWarnings("unchecked")
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 28.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedSet.java
if (hasSameComparator && (elements instanceof ImmutableSortedSet)) { @SuppressWarnings("unchecked") ImmutableSortedSet<E> original = (ImmutableSortedSet<E>) elements; if (!original.isPartialView()) { return original; } } @SuppressWarnings("unchecked") // elements only contains E's; it's safe. E[] array = (E[]) Iterables.toArray(elements);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 36.8K bytes - Viewed (0) -
guava/src/com/google/common/base/Suppliers.java
this.delegate = checkNotNull(delegate); } @Override @ParametricNullness // We set the field only once (during construction or deserialization). @SuppressWarnings("SynchronizeOnNonFinalField") public T get() { // A 2-field variant of Double Checked Locking. if (!initialized) { synchronized (lock) { if (!initialized) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 16.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/FluentIterable.java
} }; } /** * Returns a fluent iterable containing no elements. * * <p><b>{@code Stream} equivalent:</b> {@code Stream.empty()}. * * @since 20.0 */ @SuppressWarnings("EmptyList") // ImmutableList doesn't support nullable element types public static <E extends @Nullable Object> FluentIterable<E> of() { return FluentIterable.from(Collections.<E>emptyList()); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 35.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/FluentIterable.java
} }; } /** * Returns a fluent iterable containing no elements. * * <p><b>{@code Stream} equivalent:</b> {@link Stream#empty}. * * @since 20.0 */ @SuppressWarnings("EmptyList") // ImmutableList doesn't support nullable element types public static <E extends @Nullable Object> FluentIterable<E> of() { return FluentIterable.from(Collections.<E>emptyList()); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 34.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheLoaderTest.java
} }; assertEquals(0, loadCount.get()); assertEquals(0, reloadCount.get()); assertEquals(0, loadAllCount.get()); Object unused1 = baseLoader.load(new Object()); @SuppressWarnings("unused") // https://errorprone.info/bugpattern/FutureReturnValueIgnored Future<?> possiblyIgnoredError = baseLoader.reload(new Object(), new Object());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 3.6K bytes - Viewed (0)