Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 985 for SuppressWarnings (3.55 sec)

  1. android/guava/src/com/google/common/collect/CompoundOrdering.java

        implements Serializable {
      final Comparator<? super T>[] comparators;
    
      @SuppressWarnings("unchecked") // Generic array creation
      CompoundOrdering(Comparator<? super T> primary, Comparator<? super T> secondary) {
        this.comparators = (Comparator<? super T>[]) new Comparator<?>[] {primary, secondary};
      }
    
      @SuppressWarnings("unchecked") // Generic array creation
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  2. compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/ArtifactNotFoundException.java

                    artifact.getClassifier(),
                    remoteRepositories,
                    artifact.getDownloadUrl(),
                    artifact.getDependencyTrail(),
                    cause);
        }
    
        @SuppressWarnings("checkstyle:parameternumber")
        public ArtifactNotFoundException(
                String message,
                String groupId,
                String artifactId,
                String version,
                String type,
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableSet.java

            // redeclare to help optimizers with b/310253115
            @SuppressWarnings("RedundantOverride")
            @Override
            @J2ktIncompatible
            @GwtIncompatible
                    Object writeReplace() {
              return super.writeReplace();
            }
          };
        }
    
        // redeclare to help optimizers with b/310253115
        @SuppressWarnings("RedundantOverride")
        @Override
        @J2ktIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/SingletonImmutableList.java

    import com.google.common.base.Preconditions;
    import java.util.Spliterator;
    
    /**
     * Implementation of {@link ImmutableList} with exactly one element.
     *
     * @author Hayward Chan
     */
    @GwtCompatible
    @SuppressWarnings("serial") // uses writeReplace(), not default serialization
    final class SingletonImmutableList<E> extends ImmutableList<E> {
    
      final transient E element;
    
      SingletonImmutableList(E element) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/DescendingImmutableSortedMultiset.java

    import com.google.common.annotations.J2ktIncompatible;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A descending wrapper around an {@code ImmutableSortedMultiset}
     *
     * @author Louis Wasserman
     */
    @SuppressWarnings("serial") // uses writeReplace, not default serialization
    @GwtIncompatible
    final class DescendingImmutableSortedMultiset<E> extends ImmutableSortedMultiset<E> {
      private final transient ImmutableSortedMultiset<E> forward;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java

        Exception e =
            assertThrows(
                Exception.class, () -> new RecursiveTypeBoundBugExample<>().testAllDeclarations());
        assertThat(e).hasCauseThat().isInstanceOf(AssertionError.class);
      }
    
      @SuppressWarnings("RestrictedApiChecker") // crashes under JDK8, which EP no longer supports
      public void testSubtypeOfInnerClass_nonStaticAnonymousClass() {
        TypeToken<?> supertype = new TypeToken<Mall<Outdoor>.Shop<Electronics>>() {};
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

          Helpers.addAll(elements, Helpers.reverse(nextElements));
          return elements;
        }
      }
    
      public enum KnownOrder {
        KNOWN_ORDER,
        UNKNOWN_ORDER
      }
    
      @SuppressWarnings("unchecked") // TODO(cpovirk): Stop using arrays.
      AbstractIteratorTester(
          int steps,
          Iterable<E> elementsToInsertIterable,
          Iterable<? extends IteratorFeature> features,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Queues.java

       * ordering.
       *
       * @since 11.0 (but the bound of {@code E} was changed from {@code Object} to {@code Comparable}
       *     in 15.0)
       */
      @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
      @J2ktIncompatible
      @GwtIncompatible // PriorityBlockingQueue
      public static <E extends Comparable> PriorityBlockingQueue<E> newPriorityBlockingQueue() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapClearTester.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 MultimapClearTester<K, V> extends AbstractMultimapTester<K, V, Multimap<K, V>> {
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(absent = SUPPORTS_REMOVE)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 21:10:54 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutAllMultimapTester.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 MultimapPutAllMultimapTester<K, V>
        extends AbstractMultimapTester<K, V, Multimap<K, V>> {
      @MapFeature.Require(absent = SUPPORTS_PUT)
      public void testPutUnsupported() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 21:10:54 UTC 2025
    - 4.2K bytes
    - Viewed (0)
Back to top