- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 15 for redundant (0.09 seconds)
-
android/guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java
/** * Attests that the expected values must not just be present but must be present in the order * they were given. */ void inOrder(); } @IgnoreJRERequirement // *should* be redundant with the annotation on SpliteratorTester private abstract static class GeneralSpliterator<E extends @Nullable Object> { final Spliterator<E> spliterator; GeneralSpliterator(Spliterator<E> spliterator) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 12.5K bytes - Click Count (0) -
architecture/standards/0008-use-nullaway.md
We utilize nullness annotations in Java code and somewhat rely on IDE warnings to guide us. However, the Java code we have is not fully annotated, which causes several consequences: * IDE warnings can be misleading * Redundant null checks may increase binary size, hurt performance, and increase cognitive load for readers * Missing null checks may cause NullPointerException * Bridging with Kotlin code is polluted with platform types
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Mar 05 12:39:41 GMT 2026 - 4K bytes - Click Count (0) -
guava/src/com/google/common/cache/Cache.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 12:40:22 GMT 2026 - 8K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt
return CacheStrategy(request, null) } // If this response shouldn't have been stored, it should never be used as a response source. // This check should be redundant as long as the persistence store is well-behaved and the // rules are constant. if (!isCacheable(cacheResponse, request)) { return CacheStrategy(request, null) }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 12.1K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt
* * o REMOVE lines track entries that have been deleted. * * The journal file is appended to as cache operations occur. The journal may occasionally be * compacted by dropping redundant lines. A temporary file named "journal.tmp" will be used during * compaction; that file should be deleted if it exists when the cache is opened. */ private val journalFile: Path
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 34.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/IntsTest.java
import org.jspecify.annotations.Nullable; /** * Unit test for {@link Ints}. * * @author Kevin Bourrillion */ @GwtCompatible @NullMarked @SuppressWarnings("cast") // redundant casts are intentional and harmless public class IntsTest extends TestCase { private static final int[] EMPTY = {}; private static final int[] ARRAY1 = {(int) 1};Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 29.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/IntsTest.java
import org.jspecify.annotations.Nullable; /** * Unit test for {@link Ints}. * * @author Kevin Bourrillion */ @GwtCompatible @NullMarked @SuppressWarnings("cast") // redundant casts are intentional and harmless public class IntsTest extends TestCase { private static final int[] EMPTY = {}; private static final int[] ARRAY1 = {(int) 1};Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 29.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Streams.java
/** Applies this function to the given argument and its index within a stream. */ @ParametricNullness R apply(@ParametricNullness T from, long index); } /* * @IgnoreJRERequirement should be redundant with the one on Streams itself, but it's necessary as * of Animal Sniffer 1.24. Maybe Animal Sniffer processes this nested class before it processes * Streams and thus hasn't had a chance to see Streams's annotation? */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 36.8K bytes - Click Count (0) -
CHANGELOG.md
* Fix: Don't double-compress the public suffix database. OkHttp is usually distributed in a compressed file (like a JAR or APK), so compressing its internal data was redundant. * Fix: Call `ProxySelector.connectFailed()` when a connection's initial TCP handshake fails. * Fix: Change the signature of `Dispatcher` to accept a nullable `ExecutorService`. Changing this
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 15 11:57:47 GMT 2026 - 36.2K bytes - Click Count (2) -
android/guava/src/com/google/common/util/concurrent/AbstractFuture.java
public void addListener(Runnable listener, Executor executor) { checkNotNull(listener, "Runnable was null."); checkNotNull(executor, "Executor was null."); // Checking isDone and listeners != TOMBSTONE may seem redundant, but our contract for // addListener says that listeners execute 'immediate' if the future isDone(). However, our // protocol for completing a future is to assign the value field (which sets isDone to true) and
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)