Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 171 for isPresent (0.32 sec)

  1. src/main/java/org/codelibs/fess/app/web/api/admin/fileauth/ApiAdminFileauthAction.java

                copyOp.excludeNull();
            });
            return body;
        }
    
        protected Boolean isValidFileConfigId(final String fileconfigId) {
            return fileConfigService.getFileConfig(fileconfigId).isPresent();
        }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/webauth/ApiAdminWebauthAction.java

                copyOp.excludeNull();
            });
            return body;
        }
    
        protected Boolean isValidWebConfigId(final String webconfigId) {
            return webConfigService.getWebConfig(webconfigId).isPresent();
        }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/ByteSourceTester.java

        assertEquals(expected.length, source.size());
      }
    
      public void testSizeIfKnown() throws IOException {
        Optional<Long> sizeIfKnown = source.sizeIfKnown();
        if (sizeIfKnown.isPresent()) {
          assertEquals(expected.length, (long) sizeIfKnown.get());
        }
      }
    
      public void testContentEquals() throws IOException {
        assertTrue(
            source.contentEquals(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.6K bytes
    - Viewed (0)
  4. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/tasks/DistributionTest.kt

            jvmArgumentProviders.add(srcDistributionZip)
        }
    
        override fun executeTests() {
            cachesCleaner.get().cleanUpCaches()
    
            if (tracker.isPresent) {
                val daemonTrackerService = tracker.get()
                val testListener = daemonTrackerService.javaClass.getMethod("newDaemonListener").invoke(daemonTrackerService) as TestListener
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Fri Jul 01 22:53:59 GMT 2022
    - 8K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/ws/WebSocketWriterTest.kt

       * exceptions thrown from the test do not cause this check to fail.
       */
      @RegisterExtension
      val noDataLeftBehind =
        AfterEachCallback { context: ExtensionContext ->
          if (context.executionException.isPresent) return@AfterEachCallback
          assertThat(data.readByteString().hex(), "Data not empty")
            .isEqualTo("")
        }
    
      // Mutually exclusive. Use the one corresponding to the peer whose behavior you wish to test.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/base/login/FessLoginAssist.java

                if (!fessConfig.isAdminUser(username)) {
                    final OptionalEntity<FessUser> ldapUser = ComponentUtil.getLdapManager().login(username, password);
                    if (ldapUser.isPresent()) {
                        return ldapUser;
                    }
                }
                return doFindLoginUser(username, encryptPassword(password));
            });
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.8K bytes
    - Viewed (1)
  7. src/main/java/org/codelibs/fess/app/web/base/FessSearchAction.java

        //                                                                           =========
        protected boolean isLoginRequired() {
            if (fessConfig.isLoginRequired() && !fessLoginAssist.getSavedUserBean().isPresent()) {
                return true;
            }
            return false;
        }
    
        protected void buildFormParams(final SearchForm form) {
    
            final HttpSession session = request.getSession(false);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 10K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/ByteSourceTester.java

        assertEquals(expected.length, source.size());
      }
    
      public void testSizeIfKnown() throws IOException {
        Optional<Long> sizeIfKnown = source.sizeIfKnown();
        if (sizeIfKnown.isPresent()) {
          assertEquals(expected.length, (long) sizeIfKnown.get());
        }
      }
    
      public void testContentEquals() throws IOException {
        assertTrue(
            source.contentEquals(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/storage/ApiAdminStorageAction.java

        // POST /api/admin/storage/list/{id}
        @Execute
        public JsonResponse<ApiResult> list(final OptionalThing<String> id) {
            final List<Map<String, Object>> list = getFileItems(id.isPresent() ? decodePath(id.get()) : null);
            try {
                return asJson(new ApiResult.ApiStorageResponse().items(list).status(ApiResult.Status.OK).result());
            } catch (final ResultOffsetExceededException e) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/service/CrawlingInfoService.java

                        entity.getCrawlingInfo().ifPresent(crawlingInfo -> {
                            addToList(list, crawlingInfo.getSessionId());
                            addToList(list, crawlingInfo.getCreatedTime());
                        });
                        // TODO
                        if (!entity.getCrawlingInfo().isPresent()) {
                            addToList(list, "");
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 13.4K bytes
    - Viewed (0)
Back to top