Search Options

Results per page
Sort
Preferred Languages
Advance

Results 531 - 540 of 2,446 for instanceOf (0.37 sec)

  1. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

            public String toString() {
                StringBuilder buffer = new StringBuilder();
                for (Item item : this) {
                    if (!buffer.isEmpty()) {
                        buffer.append((item instanceof ListItem) ? '-' : '.');
                    }
                    buffer.append(item);
                }
                return buffer.toString();
            }
    
            /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableMultimap.java

         * values} if it is a Set and therefore probably already deduplicated.
         */
        int expectedValueCollectionSize(int defaultExpectedValues, Iterable<?> values) {
          if (values instanceof Collection<?>) {
            Collection<?> collection = (Collection<?>) values;
            return max(defaultExpectedValues, collection.size());
          } else {
            return defaultExpectedValues;
          }
        }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 09 15:58:48 UTC 2025
    - 27.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/user/ApiAdminUserAction.java

                throwValidationErrorApi(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, id));
                return null;
            });
            getUserBean().ifPresent(u -> {
                if (u.getFessUser() instanceof User && entity.getName().equals(u.getUserId())) {
                    throwValidationErrorApi(messages -> messages.addErrorsCouldNotDeleteLoggedInUser(GLOBAL));
                }
            });
            try {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Mon Nov 24 02:07:40 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadataGenerator.java

             */
            for (Iterator<? extends Metadata> it = metadatas.iterator(); it.hasNext(); ) {
                Metadata metadata = it.next();
                if (metadata instanceof PluginsMetadata pluginsMetadata) {
                    it.remove();
                    processedPlugins.put(pluginsMetadata.getGroupId(), pluginsMetadata);
                }
            }
        }
    
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Mar 25 09:45:07 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

                            // ignore
                        }
                        file.delete(); // if this fails, forget about it
                    }
                }
            } finally {
                if (metadata instanceof RepositoryMetadata repositoryMetadata) {
                    updateCheckManager.touch(repositoryMetadata, remoteRepository, file);
                }
            }
            return file;
        }
    
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractConditionAggregation.java

        //                                                                       =============
        protected void checkEsInvalidAggregation(String name, Object value) {
            if (value == null || (value instanceof String && ((String) value).isEmpty())) {
                String msg = "Cannot register null or empty aggregation: name=" + name + " value=" + value;
                throw new InvalidQueryRegisteredException(msg);
            }
        }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

                    return content;
                }
            }
    
            if (responseData.getMetaDataMap().get(Extractor.class.getSimpleName()) instanceof TikaExtractor) {
                return content;
            }
    
            final int maxAlphanumTermSize = getMaxAlphanumTermSize();
            final int maxSymbolTermSize = getMaxSymbolTermSize();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java

      }
    
      public void testFromNonFluentFuture() throws Exception {
        ListenableFuture<String> f =
            new SimpleForwardingListenableFuture<String>(immediateFuture("a")) {};
        verify(!(f instanceof FluentFuture));
        assertThat(FluentFuture.from(f).get()).isEqualTo("a");
        // TODO(cpovirk): Test forwarding more extensively.
      }
    
      public void testAddCallback() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/storage/StorageClientTest.java

            client.setAccessTimeout(1);
            try {
                client.doGet("storage://test/file.txt");
                fail();
            } catch (CrawlingAccessException e) {
                assertTrue(e.getCause() instanceof InterruptedException);
            }
        }
    
        public void test_doHead_accessTimeoutTarget() {
            StorageClient client = new StorageClient() {
                @Override
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Throwables.java

        checkNotNull(throwable);
        if (throwable instanceof RuntimeException) {
          throw (RuntimeException) throwable;
        }
        if (throwable instanceof Error) {
          throw (Error) throwable;
        }
      }
    
      /**
       * Propagates {@code throwable} exactly as-is, if and only if it is an instance of {@link
       * RuntimeException} or {@link Error}.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.6K bytes
    - Viewed (0)
Back to top