Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1201 - 1210 of 1,438 for SuppressWarnings (0.09 seconds)

  1. android/guava-tests/test/com/google/common/io/MoreFilesTest.java

       * contents.
       *
       * <p>We can only test this with a file system that supports SecureDirectoryStream, because it's
       * not possible to protect against this if the file system doesn't.
       */
      @SuppressWarnings("ThreadPriorityCheck") // TODO: b/175898629 - Consider onSpinWait.
      public void testDirectoryDeletion_directorySymlinkRace() throws Exception {
        int iterations = isAndroid() ? 100 : 5000;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 26.6K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.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 MapPutTester<K, V> extends AbstractMapTester<K, V> {
      private Entry<K, V> nullKeyEntry;
      private Entry<K, V> nullValueEntry;
      private Entry<K, V> nullKeyValueEntry;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/ImmutableListMultimap.java

      }
    
      /**
       * Returns the empty multimap.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      // Casting is safe because the multimap will never hold any elements.
      @SuppressWarnings("unchecked")
      public static <K, V> ImmutableListMultimap<K, V> of() {
        return (ImmutableListMultimap<K, V>) EmptyImmutableListMultimap.INSTANCE;
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Dec 09 15:58:48 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/score/QueryRescorerTest.java

                        return null;
                    }
    
                    // Check for nested map
                    if (params.containsKey("nested") && params.get("nested") instanceof Map) {
                        @SuppressWarnings("unchecked")
                        Map<String, Object> nestedMap = (Map<String, Object>) params.get("nested");
                        if (nestedMap.containsKey("innerKey")) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/MIENameTest.java

            // Arrange
            byte[] buf;
            if (bufferSupplierOrBytes instanceof byte[]) {
                buf = (byte[]) bufferSupplierOrBytes;
            } else {
                @SuppressWarnings("unchecked")
                java.util.function.Supplier<byte[]> sup = (java.util.function.Supplier<byte[]>) bufferSupplierOrBytes;
                buf = sup.get();
            }
    
            // Act + Assert
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Init.java

        @Inject
        public Init(MessageBuilderFactory messageBuilderFactory, SecDispatcher secDispatcher) {
            super(messageBuilderFactory, secDispatcher);
        }
    
        @SuppressWarnings("MethodLength")
        @Override
        public int doExecute(EncryptContext context) throws Exception {
            boolean force = context.options().force().orElse(false);
            boolean yes = context.options().yes().orElse(false);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 12K bytes
    - Click Count (0)
  7. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

                    option.converter(new EsTimestampConverter(), timestampFields).excludeWhitespace();
                    option.exclude(OpenSearchAccessResult.ACCESS_RESULT_DATA);
                });
                @SuppressWarnings("unchecked")
                final Map<String, Object> data = (Map<String, Object>) source.get(OpenSearchAccessResult.ACCESS_RESULT_DATA);
                if (data != null) {
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Nov 20 08:40:57 GMT 2025
    - 34.3K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/MapTestSuiteBuilder.java

      public static <K, V> MapTestSuiteBuilder<K, V> using(TestMapGenerator<K, V> generator) {
        return new MapTestSuiteBuilder<K, V>().usingGenerator(generator);
      }
    
      @SuppressWarnings("rawtypes") // class literals
      @Override
      protected List<Class<? extends AbstractTester>> getTesters() {
        return Arrays.asList(
            MapClearTester.class,
            MapContainsKeyTester.class,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 11K bytes
    - Click Count (0)
  9. src/main/java/jcifs/http/NtlmHttpURLConnection.java

        }
    
        @Override
        public InputStream getInputStream() throws IOException {
            handshake();
            return this.connection.getInputStream();
        }
    
        @SuppressWarnings("resource")
        @Override
        public OutputStream getOutputStream() throws IOException {
            connect();
            final OutputStream output = this.connection.getOutputStream();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 25.6K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

        }
      }
    
      /**
       * Submits the given runnable to the given {@link Executor} catching and logging all {@linkplain
       * RuntimeException runtime exceptions} thrown by the executor.
       */
      @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
      private static void executeListener(Runnable runnable, Executor executor) {
        try {
          executor.execute(runnable);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 10 11:51:21 GMT 2026
    - 6.9K bytes
    - Click Count (0)
Back to Top