Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1351 - 1360 of 1,450 for SuppressWarnings (0.1 seconds)

  1. src/main/java/org/codelibs/fess/suggest/index/operations/ContentIndexingOperations.java

                        }
                        docs.add(doc);
                        doc = documentReader.read();
                        if (doc == null || docs.size() >= docPerReq) {
                            @SuppressWarnings("unchecked")
                            final SuggestIndexResponse res = indexFromDocument(ctx, docs.toArray(new Map[docs.size()]));
                            errors.addAll(res.getErrors());
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 21.7K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

    @NullMarked
    public class UnmodifiableCollectionTests {
    
      public static void assertMapEntryIsUnmodifiable(Entry<?, ?> entry) {
        try {
          // fine because the call is going to fail without modifying the entry
          @SuppressWarnings("unchecked")
          Entry<?, @Nullable Object> nullableValueEntry = (Entry<?, @Nullable Object>) entry;
          nullableValueEntry.setValue(null);
          fail("setValue on unmodifiable Map.Entry succeeded");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 14.9K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/base/Strings.java

            builder.append(prefix);
            builder.append(lenientToString(args[i]));
            prefix = ", ";
          }
          builder.append(']');
        }
    
        return builder.toString();
      }
    
      @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
      private static String lenientToString(@Nullable Object o) {
        if (o == null) {
          return "null";
        }
        try {
          return o.toString();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 12.2K bytes
    - Click Count (0)
  4. src/main/java/jcifs/dcerpc/msrpc/netdfs.java

    import jcifs.dcerpc.ndr.NdrLong;
    import jcifs.dcerpc.ndr.NdrObject;
    
    /**
     * DCE/RPC interface for Distributed File System (DFS) operations.
     * Provides structures and methods for DFS management and enumeration.
     */
    @SuppressWarnings("all")
    public class netdfs {
    
        /**
         * Default constructor for netdfs
         */
        public netdfs() {
            // Default constructor
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 21.8K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

          }
        },
        OLD {
          @Override
          <T> Facade<T> newFacade() {
            return new OldAbstractFutureFacade<T>();
          }
        };
    
        abstract <T> Facade<T> newFacade();
      }
    
      @SuppressWarnings("ThreadPriorityCheck") // TODO: b/175898629 - Consider onSpinWait.
      static void awaitWaiting(Thread t) {
        while (true) {
          Thread.State state = t.getState();
          switch (state) {
            case RUNNABLE:
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

        return MapTestSuiteBuilder.using(
                new TestStringMapGenerator() {
                  @Override
                  // We are testing Hashtable / testing our tests on Hashtable.
                  @SuppressWarnings("JdkObsolete")
                  protected Map<String, String> create(Entry<String, String>[] entries) {
                    return populate(new Hashtable<String, String>(), entries);
                  }
                })
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Dec 16 03:23:31 GMT 2025
    - 21.8K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/base/FunctionsTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testIdentitySerializable() {
        checkCanReserializeSingleton(Functions.identity());
      }
    
      @SuppressWarnings("nullness") // test of a bogus call
      public void testToStringFunction_apply() {
        assertThat(Functions.toStringFunction().apply(3)).isEqualTo("3");
        assertThat(Functions.toStringFunction().apply("hiya")).isEqualTo("hiya");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 16.2K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/collect/TreeBasedTableTest.java

      }
    
      public void testValuesToString_ordered() {
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        assertThat(table.values().toString()).isEqualTo("[b, a, c]");
      }
    
      @SuppressWarnings({"deprecation", "InlineMeInliner"}) // test of a deprecated method
      public void testRowComparator() {
        sortedTable = TreeBasedTable.create();
        assertThat(sortedTable.rowComparator()).isEqualTo(Ordering.natural());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 15.3K bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

                }
    
                if (dependencyArtifact != null) {
                    artifacts.add(dependencyArtifact);
                }
            }
    
            return artifacts;
        }
    
        @SuppressWarnings("checkstyle:methodlength")
        private ProjectRelocation retrieveRelocatedProject(Artifact artifact, MetadataResolutionRequest repositoryRequest)
                throws ArtifactMetadataRetrievalException {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Sep 25 12:03:50 GMT 2025
    - 30.4K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt

      ): T = tags.computeIfAbsent(type, computeIfAbsent)
    
      override fun <T : Any> tag(
        type: Class<T>,
        computeIfAbsent: () -> T,
      ): T = tags.computeIfAbsent(type.kotlin, computeIfAbsent)
    
      @SuppressWarnings("CloneDoesntCallSuperClone") // We are a final type & this saves clearing state.
      override fun clone(): Call = RealCall(client, originalRequest, forWebSocket)
    
      override fun request(): Request = originalRequest
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Jan 11 12:06:21 GMT 2026
    - 19.5K bytes
    - Click Count (0)
Back to Top