- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 1,438 for SuppressWarnings (0.08 seconds)
-
guava-tests/test/com/google/common/math/DoubleMathTest.java
} @GwtIncompatible // DoubleMath.mean @SuppressWarnings("deprecation") // test of deprecated method public void testMean_intVarargs() { assertThat(DoubleMath.mean(11, -22, 44, -88)).isWithin(1.0e-10).of(-13.75); assertThat(DoubleMath.mean(11)).isWithin(1.0e-10).of(11.0); } @GwtIncompatible // DoubleMath.mean @SuppressWarnings("deprecation") // test of deprecated methodCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Feb 03 16:20:39 GMT 2026 - 27.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ForwardingMapTest.java
MapFeature.ALLOWS_ANY_NULL_QUERIES, CollectionFeature.KNOWN_ORDER) .createTestSuite()); return suite; } @SuppressWarnings({"rawtypes", "unchecked"}) public void testForwarding() { new ForwardingWrapperTester() .testForwarding( Map.class, new Function<Map, Map>() { @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 12.4K bytes - Click Count (0) -
guava/src/com/google/common/cache/AbstractCache.java
@Override public void recordMisses(int count) { missCount.add(count); } @SuppressWarnings("GoodTime") // b/122668874 @Override public void recordLoadSuccess(long loadTime) { loadSuccessCount.increment(); totalLoadTime.add(loadTime); } @SuppressWarnings("GoodTime") // b/122668874 @Override public void recordLoadException(long loadTime) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 12:40:22 GMT 2026 - 9.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java
private final CountDownLatch returned = new CountDownLatch(1); private Object proxy; @SuppressWarnings("unchecked") // proxy for a generic class <V> Callable<V> waitFor(Callable<V> callable) { return waitFor(callable, Callable.class); } @SuppressWarnings("unchecked") // proxy for a generic class <V> ClosingCallable<V> waitFor(ClosingCallable<V> closingCallable) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 63K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/FilteredEntryMultimap.java
} @Override public Collection<V> removeAll(@Nullable Object key) { return MoreObjects.firstNonNull(asMap().remove(key), unmodifiableEmptyCollection()); } @SuppressWarnings("EmptyList") // ImmutableList doesn't support nullable element types Collection<V> unmodifiableEmptyCollection() { // These return false, rather than throwing a UOE, on remove calls.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 12.3K bytes - Click Count (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(immediateVoidFuture()); @SuppressWarnings({"unused", "nullness"}) Future<?> possiblyIgnoredError1 = serializer.submitAsync(secondCallable, directExecutor());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 13.6K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
@Generates int generateInt() { return freshness.get(); } @SuppressWarnings("removal") // b/321209431 -- maybe just use valueOf here? @Generates Integer generateInteger() { return new Integer(generateInt()); } @Generates long generateLong() { return generateInt(); } @SuppressWarnings("removal") // b/321209431 -- maybe just use valueOf here? @Generates
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:45:58 GMT 2026 - 28.7K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AbstractFuture.java
return uncheckedNull(); } @SuppressWarnings("unchecked") // The only other option is a V from set(V) V asV = (V) localValue; return asV; } /** * {@inheritDoc} * * @since NEXT. Note, however, that Java 19+ users can call this method with any version of Guava. */ @SuppressWarnings("MissingOverride") // not an override under J2CL
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 14:39:00 GMT 2026 - 43.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/RegularImmutableSet.java
import java.util.Spliterators; import org.jspecify.annotations.Nullable; /** * Implementation of {@link ImmutableSet} with two or more elements. * * @author Kevin Bourrillion */ @GwtCompatible @SuppressWarnings("serial") // uses writeReplace(), not default serialization final class RegularImmutableSet<E> extends ImmutableSet.CachingAsList<E> { private static final Object[] EMPTY_ARRAY = new Object[0];Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 3.8K bytes - Click Count (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;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 13:13:59 GMT 2026 - 52K bytes - Click Count (0)