Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1391 - 1400 of 1,450 for SuppressWarnings (1.03 seconds)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java

        ImmutableSortedMultiset<String> unused =
            ImmutableSortedMultiset.copyOf(Ordering.natural(), toCopy);
        assertTrue(toCopy.toArrayCalled);
      }
    
      @SuppressWarnings("unchecked")
      public void testCopyOfSortedDefensiveCopy() {
        // Depending on JDK version, either toArray() or toArray(T[]) may be called... use this class
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 22.8K bytes
    - Click Count (0)
  6. 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)
  7. 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)
  8. src/main/java/org/codelibs/fess/opensearch/log/allcommon/EsAbstractBehavior.java

                return createDeleteRequest(esEntity);
            });
        }
    
        protected <BUILDER> int[] delegateBatchRequest(final List<? extends Entity> entityList, Function<EsAbstractEntity, BUILDER> call) {
            @SuppressWarnings("unchecked")
            final BulkList<? extends Entity, BUILDER> bulkList = (BulkList<? extends Entity, BUILDER>) entityList;
            final RequestOptionCall<BUILDER> builderEntityCall = bulkList.getEntityCall();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 27 07:01:25 GMT 2025
    - 26.4K 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. src/main/java/org/codelibs/fess/chat/ChatClient.java

                        new ChatSearchRequestParams("url:\"" + escapeQueryValue(url) + "\"", maxDocs, fessConfig);
    
                ComponentUtil.getSearchHelper().search(params, data, OptionalThing.empty());
    
                @SuppressWarnings("unchecked")
                final List<Map<String, Object>> docs = (List<Map<String, Object>>) data.getDocumentItems();
                if (docs != null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 56.6K bytes
    - Click Count (0)
Back to Top