Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 81 for orElse (0.03 sec)

  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
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 35.2K bytes
    - Viewed (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);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 38.8K bytes
    - Viewed (0)
  3. 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>
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Dec 18 22:01:30 UTC 2025
    - 17.7K bytes
    - Viewed (0)
  4. 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) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 22.2K bytes
    - Viewed (0)
  5. 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);
            });
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 13:56:35 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  6. 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) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/keymatch/AdminKeymatchAction.java

        public HtmlResponse list(final OptionalThing<Integer> pageNumber, final SearchForm form) {
            pageNumber.ifPresent(num -> {
                keyMatchPager.setCurrentPageNumber(pageNumber.get());
            }).orElse(() -> {
                keyMatchPager.setCurrentPageNumber(0);
            });
            return asHtml(path_AdminKeymatch_AdminKeymatchJsp).renderWith(data -> {
                searchPaging(data, form);
            });
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 13:56:35 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  8. 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 |=
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 27.6K bytes
    - Viewed (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);
            });
        }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 13:56:35 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

        public static String getMessage(final String key, final String defaultValue) {
            final Locale locale = LaRequestUtil.getOptionalRequest().map(HttpServletRequest::getLocale).orElse(Locale.ROOT);
            return ComponentUtil.getMessageManager().findMessage(locale, key).orElse(defaultValue);
        }
    
        /**
         * Checks if the current user has the specified action role or administrative privileges.
         *
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 25.4K bytes
    - Viewed (1)
Back to top