Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 101 for IsPresent (0.08 seconds)

  1. src/main/java/org/codelibs/fess/app/job/ScriptExecutorJob.java

            if (jobExecutor == null) {
                throw new ScheduledJobException("No jobExecutor: " + scriptType);
            }
    
            if (!jobManager.findJobByUniqueOf(LaJobUnique.of(id)).isPresent()) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Job is running: id={}", id);
                }
                return;
            }
    
            TimeoutTask task = null;
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/web/profile/ProfileAction.java

            final VaErrorHook toIndexPage = () -> {
                form.clearSecurityInfo();
                return asIndexHtml();
            };
            validatePasswordForm(form, toIndexPage);
            if (!getUserBean().isPresent()) {
                logger.warn("User session not found during password change");
                return redirect(LoginAction.class);
            }
            final String username = getUserBean().get().getUserId();
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 02 06:18:24 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupContext.java

            Map<String, String> user = new HashMap<>(invokerRequest.userProperties());
            user.put("session.topDirectory", invokerRequest.topDirectory().toString());
            if (invokerRequest.rootDirectory().isPresent()) {
                user.put(
                        "session.rootDirectory",
                        invokerRequest.rootDirectory().get().toString());
            }
            this.protoSession = ProtoSession.newBuilder()
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/login/LoginAction.java

                        .orElseGet(() -> redirect(LoginAction.class));
            };
            validatePasswordForm(form, toIndexPage);
            if (!getUserBean().isPresent()) {
                logger.warn("User session not found during password change - potential session timeout or security issue");
                return redirect(LoginAction.class);
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 02 06:18:24 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/reqheader/ApiAdminReqheaderAction.java

         * @return true if the web configuration exists, false otherwise
         */
        protected Boolean isValidWebConfigId(final String webconfigId) {
            return webConfigService.getWebConfig(webconfigId).isPresent();
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/webauth/ApiAdminWebauthAction.java

         * @return true if the web configuration exists, false otherwise
         */
        protected Boolean isValidWebConfigId(final String webconfigId) {
            return webConfigService.getWebConfig(webconfigId).isPresent();
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  7. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java

            public String testDoUpgradeLogic(UpgradeContext context, String expectedTargetModel) {
                UpgradeOptions options = context.options();
                if (options.modelVersion().isPresent()) {
                    return options.modelVersion().get();
                } else if (options.all().orElse(false)) {
                    return "4.1.0";
                } else {
                    return "4.0.0";
                }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 13.7K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/sso/SsoAction.java

         *
         * @return ActionResponse directing to the appropriate page based on authentication result
         */
        @Execute
        public ActionResponse index() {
            if (fessLoginAssist.getSavedUserBean().isPresent()) {
                return redirectToSearchPage().orElseGet(() -> {
                    if (logger.isDebugEnabled()) {
                        logger.debug("User is already logged in, redirecting to root.");
                    }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtils.java

     * <pre>{@code
     * // Find child element
     * Element child = parent.child("version").orElse(null);
     *
     * // Check if child exists
     * boolean hasVersion = parent.child("version").isPresent();
     *
     * // Get child text content
     * String version = parent.child("version")
     *     .map(Element::textContent)
     *     .orElse(null);
     *
     * // Get trimmed text content
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  10. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalBwcGitPlugin.java

         * should not matter in practice.
         */
        private String maybeAlignedRefSpec(Logger logger, String defaultRefSpec) {
            if (providerFactory.systemProperty("bwc.checkout.align").isPresent() == false) {
                return defaultRefSpec;
            }
    
            String timeOfCurrent = execInCheckoutDir(execSpec -> {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 9.9K bytes
    - Click Count (0)
Back to Top