Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 127 for orElse (0.05 seconds)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategyTest.java

                Element build = moduleBRoot.child("build").orElse(null);
                Element plugins = build.child("plugins").orElse(null);
                Element plugin = plugins.child("plugin").orElse(null);
                Element dependencies = plugin.child("dependencies").orElse(null);
                Element dependency = dependencies.child("dependency").orElse(null);
    
                // Apply dependency inference
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 35.2K bytes
    - Click Count (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategyTest.java

                Element build = root.child("build").orElse(null);
                Element plugins = build.child("plugins").orElse(null);
                Element cleanPlugin = plugins.child("plugin").orElse(null);
                Element executions = cleanPlugin.child("executions").orElse(null);
                Element execution = executions.child("execution").orElse(null);
                Element phase = execution.child("phase").orElse(null);
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 38.8K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategy.java

                    && options.modelVersion().isEmpty();
    
            boolean allOptionsDisabled = options.all().map(v -> !v).orElse(false)
                    && options.infer().map(v -> !v).orElse(false)
                    && options.model().map(v -> !v).orElse(false)
                    && options.plugins().map(v -> !v).orElse(false)
                    && options.modelVersion().isEmpty();
    
            if (noOptionsSpecified || allOptionsDisabled) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 22.2K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/dict/stopwords/AdminDictStopwordsAction.java

            validate(form, messages -> {}, this::asDictIndexHtml);
            pageNumber.ifPresent(num -> {
                stopwordsPager.setCurrentPageNumber(pageNumber.get());
            }).orElse(() -> {
                stopwordsPager.setCurrentPageNumber(0);
            });
            return asHtml(path_AdminDictStopwords_AdminDictStopwordsJsp).renderWith(data -> {
                searchPaging(data, form);
            });
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 20.3K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenInvoker.java

            request.setGoals(context.options().goals().orElse(List.of()));
            request.setReactorFailureBehavior(determineReactorFailureBehaviour(context));
            request.setRecursive(!context.options().nonRecursive().orElse(!request.isRecursive()));
            request.setOffline(context.options().offline().orElse(request.isOffline()));
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Sep 11 17:20:46 GMT 2025
    - 28.2K bytes
    - Click Count (0)
  6. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt

        get() = environmentVariable(BUILD_COMMIT_ID)
            .orElse(gradleProperty(BUILD_PROMOTION_COMMIT_ID))
            .orElse(environmentVariable(BUILD_VCS_NUMBER))
            .orElse(currentGitCommitViaFileSystemQuery())
    
    
    val Project.isBuildCommitDistribution: Boolean
        get() = gradleProperty(BUILD_COMMIT_DISTRIBUTION).map { it.toBoolean() }.orElse(false).get()
    
    
    val Project.buildFinalRelease: Provider<String>
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Jan 19 05:13:29 GMT 2026
    - 18K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/duplicatehost/AdminDuplicatehostAction.java

        public HtmlResponse list(final OptionalThing<Integer> pageNumber, final SearchForm form) {
            pageNumber.ifPresent(num -> {
                duplicateHostPager.setCurrentPageNumber(pageNumber.get());
            }).orElse(() -> {
                duplicateHostPager.setCurrentPageNumber(0);
            });
            return asHtml(path_AdminDuplicatehost_AdminDuplicatehostJsp).renderWith(data -> {
                searchPaging(data, form);
            });
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategy.java

            // Also check inside profiles
            Element profilesElement = root.child(PROFILES).orElse(null);
            if (profilesElement != null) {
                var profileElements = profilesElement.children(PROFILE).toList();
                for (Element profileElement : profileElements) {
                    Element profileModulesElement = profileElement.child(MODULES).orElse(null);
                    if (profileModulesElement != null) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/dataconfig/AdminDataconfigAction.java

        public HtmlResponse list(final OptionalThing<Integer> pageNumber, final SearchForm form) {
            pageNumber.ifPresent(num -> {
                dataConfigPager.setCurrentPageNumber(pageNumber.get());
            }).orElse(() -> {
                dataConfigPager.setCurrentPageNumber(0);
            });
            return asHtml(path_AdminDataconfig_AdminDataconfigJsp).renderWith(data -> {
                searchPaging(data, form);
            });
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:54:13 GMT 2026
    - 21K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategy.java

            // Check dependencyManagement section
            Element dependencyManagement = root.child(DEPENDENCY_MANAGEMENT).orElse(null);
            if (dependencyManagement != null) {
                Element dependencies = dependencyManagement.child(DEPENDENCIES).orElse(null);
                if (dependencies != null) {
                    hasChanges |=
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 27.6K bytes
    - Click Count (0)
Back to Top