Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 187 for ifPresent (0.38 sec)

  1. 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, "");
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/job/CrawlJob.java

            cmdList.add(fessConfig.getJavaCommandPath());
    
            // -cp
            cmdList.add("-cp");
            final StringBuilder buf = new StringBuilder(100);
            ResourceUtil.getOverrideConfPath().ifPresent(p -> {
                buf.append(p);
                buf.append(cpSeparator);
            });
            final String confPath = System.getProperty(Constants.FESS_CONF_PATH);
            if (StringUtil.isNotBlank(confPath)) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/IndexingHelper.java

                                final String configId = (String) doc.get(fessConfig.getIndexFieldConfigId());
                                crawlingConfigHelper.getPipeline(configId).ifPresent(s -> builder.setPipeline(s));
                            });
                    if (response.hasFailures()) {
                        if (logger.isDebugEnabled()) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 26.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                searchHelper
                        .getDocumentByDocId(docId, new String[] { fessConfig.getIndexFieldUrl(), fessConfig.getIndexFieldLang() },
                                OptionalThing.empty())
                        .ifPresent(doc -> {
                            final String favoriteUrl = DocumentUtil.getValue(doc, fessConfig.getIndexFieldUrl(), String.class);
                            final String userCode = userInfoHelper.getUserCode();
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 55.4K bytes
    - Viewed (1)
  5. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

            return search(index, condition, (searchRequestBuilder, execTime, searchResponse) -> {
                final List<T> list = new ArrayList<>();
                searchResponse.ifPresent(response -> response.getHits().forEach(hit -> {
                    list.add(creator.build(response, hit));
                }));
                return list;
            });
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 122.4K bytes
    - Viewed (1)
  6. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/PluginUpgradeCliTest.java

            assertFalse(options.plugins().isPresent(), "--plugins should not be present by default");
            assertFalse(options.all().isPresent(), "--all should not be present by default");
            assertFalse(options.infer().isPresent(), "--infer should not be present by default");
            assertFalse(options.model().isPresent(), "--fix-model should not be present by default");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:48:39 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  7. internal/kms/config_test.go

    			t.Setenv(k, v)
    		}
    
    		ok, err := IsPresent()
    		if err != nil && !test.ShouldFail {
    			t.Fatalf("Test %d: %v", i, err)
    		}
    		if err == nil && test.ShouldFail {
    			t.Fatalf("Test %d: should have failed but succeeded", i)
    		}
    
    		if !test.ShouldFail && ok != test.IsPresent {
    			t.Fatalf("Test %d: reported that KMS present=%v - want present=%v", i, ok, test.IsPresent)
    		}
    	}
    }
    
    var isPresentTests = []struct {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  8. impl/maven-core/src/test/java/org/apache/maven/execution/DefaultBuildResumptionAnalyzerTest.java

            Optional<BuildResumptionData> result = analyzer.determineBuildResumptionData(executionResult);
    
            assertTrue(result.isPresent(), "Expected " + result + ".isPresent() to return true");
            assertEquals(asList("test:B"), result.get().getRemainingProjects());
        }
    
        @Test
        void resumeFromIsIgnoredWhenFirstProjectFails() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  9. internal/kms/config.go

    		}
    		return ParseSecretKey(s)
    	}
    }
    
    // IsPresent reports whether a KMS configuration is present.
    // It returns an error if multiple KMS configurations are
    // present or if one configuration is incomplete.
    func IsPresent() (bool, error) {
    	// isPresent reports whether at least one of the
    	// given env. variables is present.
    	isPresent := func(vars ...string) bool {
    		for _, v := range vars {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 15K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenInvoker.java

            if (context.options().failFast().isPresent()) {
                return MavenExecutionRequest.REACTOR_FAIL_FAST;
            } else if (context.options().failAtEnd().isPresent()) {
                return MavenExecutionRequest.REACTOR_FAIL_AT_END;
            } else if (context.options().failNever().isPresent()) {
                return MavenExecutionRequest.REACTOR_FAIL_NEVER;
            } else {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Sep 11 17:20:46 UTC 2025
    - 28.2K bytes
    - Viewed (0)
Back to top