Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1101 - 1110 of 1,145 for SuppressWarnings (0.16 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android/guava/src/com/google/common/graph/Traverser.java

        ImmutableSet<N> validated = validate(startNodes);
        return () -> newTraversal().postOrder(validated.iterator());
      }
    
      abstract Traversal<N> newTraversal();
    
      @SuppressWarnings("CheckReturnValue")
      private ImmutableSet<N> validate(Iterable<? extends N> startNodes) {
        ImmutableSet<N> copy = ImmutableSet.copyOf(startNodes);
        for (N node : copy) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 19.3K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/primitives/UnsignedBytes.java

        static final String UNSAFE_COMPARATOR_NAME =
            LexicographicalComparatorHolder.class.getName() + "$UnsafeComparator";
    
        static final Comparator<byte[]> BEST_COMPARATOR = getBestComparator();
    
        @SuppressWarnings({
          // b/345822163
          "SunApi",
          "deprecation",
          // The `deprecation` suppression is for Unsafe APIs that aren't deprecated under some versions
          "UnnecessaryJavacSuppressWarnings"
        })
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 21K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

            ImmutableSetMultimap.of("of", 'o', "of", 'f', "to", 't', "to", 'o').inverse());
      }
    
      // Yes, we want to test that inverse() returns the same instance each time that it's called.
      @SuppressWarnings("SelfAssertion")
      public void testInverseMinimizesWork() {
        ImmutableSetMultimap<String, Character> multimap =
            ImmutableSetMultimap.of("of", 'o', "of", 'f', "to", 't', "to", 'o');
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 28.9K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

                String scope,
                String inheritedScope) {
            return createArtifactX(groupId, artifactId, versionRange, type, classifier, scope, inheritedScope, false);
        }
    
        @SuppressWarnings("checkstyle:parameternumber")
        private Artifact createArtifactX(
                String groupId,
                String artifactId,
                VersionRange versionRange,
                String type,
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 33.5K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

        String[] array = new String[] {"a"};
        Multiset<String> multiset = ImmutableMultiset.copyOf(array);
        assertEquals(HashMultiset.create(asList("a")), multiset);
      }
    
      @SuppressWarnings("ArrayAsKeyOfSetOrMap")
      public void testCreation_arrayOfArray() {
        String[] array = new String[] {"a"};
        Multiset<String[]> multiset = ImmutableMultiset.<String[]>of(array);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 24.9K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

        /**
         * Singleton class used to receive events by implementing the EventSpy.
         * It simply forwards all {@code ExecutionEvent}s to the {@code ReactorReader}.
         */
        @Named
        @Singleton
        @SuppressWarnings("unused")
        static class ReactorReaderSpy implements EventSpy {
    
            private final Lookup lookup;
    
            @Inject
            ReactorReaderSpy(Lookup lookup) {
                this.lookup = lookup;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Dec 15 11:20:38 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  7. compat/maven-embedder/src/main/java/org/fusesource/jansi/Ansi.java

     *
     * This class comes from Jansi and is provided for backward compatibility
     * with maven-shared-utils, while Maven has migrated to JLine (into which Jansi has been merged
     * since JLine 3.25.0).
     */
    @Deprecated
    @SuppressWarnings("unused")
    public class Ansi implements Appendable {
    
        private static final char FIRST_ESC_CHAR = 27;
        private static final char SECOND_ESC_CHAR = '[';
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 23.1K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

        }
      }
    
      // Instance stuff here
    
      // The array is never mutated after storing in this field and the construction strategies ensure
      // it doesn't escape this class
      @SuppressWarnings("Immutable")
      private final long[] array;
    
      /*
       * TODO(kevinb): evaluate the trade-offs of going bimorphic to save these two fields from most
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 22K bytes
    - Click Count (0)
  9. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/VersionRangeTest.java

            // overlap
            checkInvalidRange("[1.1,1.3),(1.0,1.2]");
            // ordering
            checkInvalidRange("(1.1,1.2],[1.0,1.1)");
        }
    
        @Test
        @SuppressWarnings("checkstyle:MethodLength")
        void testIntersections() throws InvalidVersionSpecificationException {
            VersionRange range1 = VersionRange.createFromVersionSpec("1.0");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Mar 30 23:08:36 GMT 2025
    - 44.1K bytes
    - Click Count (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/extension/model/io/xpp3/CoreExtensionsXpp3Reader.java

    /**
     * Class CoreExtensionsXpp3Reader.
     *
     * @deprecated use {@code org.apache.maven.cling.internal.extension.io.CoreExtensionsStaxReader}
     */
    @Deprecated
    @SuppressWarnings("all")
    public class CoreExtensionsXpp3Reader {
    
        // --------------------------/
        // - Class/Member Variables -/
        // --------------------------/
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 25.3K bytes
    - Click Count (0)
Back to Top