Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 969 for SuppressWarnings (0.07 sec)

  1. android/guava-tests/test/com/google/common/graph/ElementOrderTest.java

        NonComparableSuperClass(Integer value) {
          this.value = checkNotNull(value);
        }
    
        @Override
        public String toString() {
          return "value=" + value;
        }
      }
    
      @SuppressWarnings("ComparableType")
      private static class ComparableSubClass extends NonComparableSuperClass
          implements Comparable<NonComparableSuperClass> {
    
        ComparableSubClass(Integer value) {
          super(value);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsAllTester.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 CollectionContainsAllTester<E> extends AbstractCollectionTester<E> {
      public void testContainsAll_empty() {
        assertTrue(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/CacheLoaderTest.java

            };
    
        assertThat(loadCount.get()).isEqualTo(0);
        assertThat(reloadCount.get()).isEqualTo(0);
        assertThat(loadAllCount.get()).isEqualTo(0);
    
        Object unused1 = baseLoader.load(new Object());
        @SuppressWarnings("unused") // https://errorprone.info/bugpattern/FutureReturnValueIgnored
        Future<?> possiblyIgnoredError = baseLoader.reload(new Object(), new Object());
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableMap.java

      final transient Map<K, V> delegate;
    
      ForwardingImmutableMap(Map<? extends K, ? extends V> delegate) {
        this.delegate = Collections.unmodifiableMap(delegate);
      }
    
      @SuppressWarnings("unchecked")
      ForwardingImmutableMap(boolean throwIfDuplicateKeys, Entry<? extends K, ? extends V>... entries) {
        Map<K, V> delegate = Maps.newLinkedHashMap();
        for (Entry<? extends K, ? extends V> entry : entries) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/hash/MacHashFunction.java

     *
     * @author Kurt Alfred Kluever
     */
    @Immutable
    final class MacHashFunction extends AbstractHashFunction {
    
      @SuppressWarnings("Immutable") // cloned before each use
      private final Mac prototype;
    
      @SuppressWarnings("Immutable") // keys are immutable, but not provably so
      private final Key key;
    
      private final String toString;
      private final int bits;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. okhttp/src/jvmMain/java9/module-info.java

    @SuppressWarnings("module")
    module okhttp3 {
      requires transitive kotlin.stdlib;
      requires transitive okio;
      requires java.logging;
      exports okhttp3;
      exports okhttp3.internal to okhttp3.logging, okhttp3.sse, okhttp3.java.net.cookiejar, okhttp3.dnsoverhttps, mockwebserver3, okhttp3.mockwebserver, okhttp3.coroutines, okhttp3.tls;
      exports okhttp3.internal.concurrent to mockwebserver3, okhttp3.mockwebserver;
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Sep 21 08:30:26 UTC 2025
    - 969 bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

          cleanable.clean();
        }
      }
    
      @SuppressWarnings("Java8ApiChecker")
      private ServerSocket makeMyServerExampleWithCleaner(AtomicBoolean cleanerRan) throws IOException {
        MyServerExampleWithCleaner myServer = new MyServerExampleWithCleaner(cleanerRan);
        assertThat(myServer.serverSocket.isClosed()).isFalse();
        return myServer.serverSocket;
      }
    
      @SuppressWarnings("Java8ApiChecker")
      @Test
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Cut.java

     * below all values or above all values. With this object defined in this way, an interval can
     * always be represented by a pair of {@code Cut} instances.
     *
     * @author Kevin Bourrillion
     */
    @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
    @GwtCompatible
    abstract class Cut<C extends Comparable> implements Comparable<Cut<C>>, Serializable {
      final C endpoint;
    
      Cut(C endpoint) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/MultimapBuilder.java

          // Each call generates a fresh LinkedList, which can serve as a List<V> for any V.
          @SuppressWarnings({"rawtypes", "unchecked"})
          Supplier<List<V>> result = (Supplier) INSTANCE;
          return result;
        }
    
        @Override
        // We recommend against linkedListValues but need to keep it for compatibility.
        @SuppressWarnings("JdkObsolete")
        public List<?> get() {
          return new LinkedList<>();
        }
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 18K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /** Unit tests for CacheBuilder. */
    @GwtCompatible
    // We are intentionally testing the TimeUnit overloads, too.
    @SuppressWarnings("LongTimeUnit_ExpireAfterWrite_Seconds")
    @NullUnmarked
    public class CacheBuilderTest extends TestCase {
    
      public void testNewBuilder() {
        CacheLoader<Object, Integer> loader = constantLoader(1);
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 25.4K bytes
    - Viewed (0)
Back to top