Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 246 for orElse (0.08 seconds)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/ConfiguredGoalSupport.java

        }
    
        protected boolean validateConfiguration(EncryptContext context) {
            SecDispatcher.ValidationResponse response = secDispatcher.validateConfiguration();
            if (!response.isValid() || context.options().verbose().orElse(false)) {
                dumpResponse(context, "", response);
            }
            return response.isValid();
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java

                saveError(messages -> messages.addErrorsOperationAlreadyRunning(GLOBAL,
                        coordinator.getOperationInfo("reload_doc_index").map(o -> o.hostname).orElse("unknown")));
                return redirect(getClass());
            }
            try {
                searchEngineClient.flushConfigFiles(() -> {
                    final String docIndex = fessConfig.getIndexDocumentUpdateIndex();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 23K bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainManagerFactory.java

                    try {
                        return v4Factory
                                .createDefaultToolchain()
                                .map(ToolchainManagerFactory.this::getToolchainV3)
                                .orElse(null);
                    } catch (ToolchainFactoryException e) {
                        return null;
                    }
                }
            };
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 31 10:58:52 GMT 2025
    - 11K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultTypeRegistry.java

                        .flatMap(p -> p.provides().stream())
                        .filter(t -> Objects.equals(id, t.id()))
                        .findFirst()
                        .orElse(null);
                if (type == null) {
                    // Copy data as the ArtifactHandler is not immutable, but Type should be.
                    ArtifactHandler handler = manager.getArtifactHandler(id);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed May 14 04:47:58 GMT 2025
    - 4K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java

            String targetModel;
            if (options.modelVersion().isPresent()) {
                targetModel = options.modelVersion().get();
            } else if (options.all().orElse(false)) {
                targetModel = MODEL_VERSION_4_1_0;
            } else {
                targetModel = MavenPomElements.ModelVersions.MODEL_VERSION_4_0_0;
            }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java

         */
        public Set<String> build(final SearchRequestType searchRequestType) {
            final Set<String> roleSet = new HashSet<>();
            final HttpServletRequest request = LaRequestUtil.getOptionalRequest().orElse(null);
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final boolean isApiRequest =
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/scheduler/ApiAdminSchedulerAction.java

                    throwValidationErrorApi(messages -> {
                        messages.addErrorsFailedToStartJob(GLOBAL, entity.getName());
                    });
                }
            }).orElse(() -> {
                throwValidationErrorApi(messages -> {
                    messages.addErrorsFailedToStartJob(GLOBAL, id);
                });
            });
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/logout/LogoutAction.java

            final OptionalThing<FessUserBean> userBean = getUserBean();
            activityHelper.logout(userBean);
            final String redirectUrl = userBean.map(user -> ComponentUtil.getSsoManager().logout(user)).orElse(null);
            fessLoginAssist.logout();
            userInfoHelper.deleteUserCodeFromCookie(request);
            if (StringUtil.isNotBlank(redirectUrl)) {
                return HtmlResponse.fromRedirectPathAsIs(redirectUrl);
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  9. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java

                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";
                }
            }
    
            public boolean testIsPluginsEnabled(UpgradeContext context) {
    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)
  10. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java

                        .orElse(phase);
            }
    
            private String getResolvedPhase(String phase) {
                return lifecycles.stream()
                        .flatMap(l -> l.aliases().stream())
                        .filter(a -> phase.equals(a.v3Phase()))
                        .findFirst()
                        .map(Lifecycle.Alias::v4Phase)
                        .orElse(phase);
            }
    
            /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 55.1K bytes
    - Click Count (0)
Back to Top