- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 969 for SuppressWarnings (0.12 sec)
-
guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java
import org.jspecify.annotations.Nullable; /** Implementations of {@code Futures.transform*}. */ @GwtCompatible // Whenever both tests are cheap and functional, it's faster to use &, | instead of &&, || @SuppressWarnings("ShortCircuitBoolean") abstract class AbstractTransformFuture< I extends @Nullable Object, O extends @Nullable Object, F, T extends @Nullable Object> extends FluentFuture.TrustedFuture<O> implements Runnable {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Feb 20 18:03:37 UTC 2025 - 10.8K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Hashing.java
} /** * Used to randomize {@link #goodFastHash} instances, so that programs which persist anything * dependent on the hash codes they produce will fail sooner. */ @SuppressWarnings("GoodTime") // reading system time without TimeSource static final int GOOD_FAST_HASH_SEED = (int) System.currentTimeMillis(); /** * Returns a hash function implementing the <aRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 29.8K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/SerializeUtilTest.java
// Test ArrayList final List<String> list = new ArrayList<>(); list.add("item1"); list.add("item2"); binary = SerializeUtil.fromObjectToBinary(list); @SuppressWarnings("unchecked") final List<String> resultList = (List<String>) SerializeUtil.fromBinaryToObject(binary); assertEquals(list.size(), resultList.size()); assertEquals(list.get(0), resultList.get(0));Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 7.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MutableClassToInstanceMap.java
* themselves null), so we can treat it as a plain `Object[]`. */ @SuppressWarnings("nullness") Object[] result = standardToArray(); return result; } @Override @SuppressWarnings("nullness") // b/192354773 in our checker affects toArray declarations public <T extends @Nullable Object> T[] toArray(T[] array) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 22:10:29 UTC 2025 - 6.7K bytes - Viewed (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<>(); } /**
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 81.6K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/Types.java
D genericDeclaration, String name, Type[] bounds) { TypeVariableImpl<D> typeVariableImpl = new TypeVariableImpl<>(genericDeclaration, name, bounds); @SuppressWarnings("unchecked") TypeVariable<D> typeVariable = Reflection.newProxy( TypeVariable.class, new TypeVariableInvocationHandler(typeVariableImpl)); return typeVariable; } /**
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Oct 31 19:34:24 UTC 2025 - 24.3K bytes - Viewed (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 methodRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 22:56:33 UTC 2025 - 62.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapEntriesTester.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 MultimapEntriesTester<K, V> extends AbstractMultimapTester<K, V, Multimap<K, V>> { public void testEntries() { assertEqualIgnoringOrder(getSampleElements(), multimap().entries());Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 21:10:54 UTC 2025 - 5.4K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/SequentialExecutor.java
* * <p>When {@link #executor} is a directExecutor(), the value written to * {@code workerRunningState} will be available synchronously, and behaviour will be * deterministic. */ @SuppressWarnings("GuardedBy") boolean alreadyMarkedQueued = workerRunningState != QUEUING; if (alreadyMarkedQueued) { return; } synchronized (queue) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 10.6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java
* * <p>When {@link #executor} is a directExecutor(), the value written to * {@code workerRunningState} will be available synchronously, and behaviour will be * deterministic. */ @SuppressWarnings("GuardedBy") boolean alreadyMarkedQueued = workerRunningState != QUEUING; if (alreadyMarkedQueued) { return; } synchronized (queue) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 10.6K bytes - Viewed (0)