Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 231 for orElse (0.06 sec)

  1. 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);
            }
    
            /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 06:12:36 UTC 2025
    - 55.1K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/SourceRoot.java

         * Implementation may override with absolute path instead.
         */
        default Path directory() {
            Path src = Path.of("src");
            return module().map(src::resolve)
                    .orElse(src)
                    .resolve(scope().id())
                    .resolve(language().id());
        }
    
        /**
         * {@return the list of patterns for the files to include}
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 07 13:11:07 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  3. 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);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed May 14 04:47:58 UTC 2025
    - 4K bytes
    - Viewed (0)
  4. 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;
            }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/PackagingProfileActivator.java

        public boolean isActive(
                org.apache.maven.model.Profile profile, ProfileActivationContext context, ModelProblemCollector problems) {
            return getActivationPackaging(profile).map(p -> isPackaging(context, p)).orElse(false);
        }
    
        @Override
        public boolean presentInConfig(
                org.apache.maven.model.Profile profile, ProfileActivationContext context, ModelProblemCollector problems) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/UserAgentHelper.java

                    if (uaType == null) {
                        uaType = UserAgentType.OTHER;
                    }
                    request.setAttribute(USER_AGENT_TYPE, uaType);
                }
                return uaType;
            }).orElse(UserAgentType.OTHER);
        }
    
        /**
         * Enumeration of supported browser types for user agent detection.
         * Each type represents a major browser family that can be detected
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/BinaryCompatibilityRepository.kt

        private
        val JApiClass.kotlinSourceFilePath: String
            get() = "$packagePath/$bytecodeSourceFilename"
    
        private
        val JApiClass.bytecodeSourceFilename: String
            get() = newClass.orElse(null)?.classFile?.getAttribute("SourceFile")?.let { it as? SourceFileAttribute }?.fileName
                ?: error("Bytecode for $fullyQualifiedName is missing the 'SourceFile' attribute")
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 24 14:15:15 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/logic/AccessContextLogic.java

                final AppTypeSupplier appTypeSupplier) {
            final StringBuilder sb = new StringBuilder();
            sb.append(userTypeSupplier.supply().orElse("_"));
            sb.append(",").append(appTypeSupplier.supply()).append(",").append(resource.getModuleName());
            final String trace = sb.toString();
            final int columnSize = 200;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/base/FessLoginAction.java

         *
         * @return HTML response for login page or redirect to admin interface
         */
        protected HtmlResponse getHtmlResponse() {
            return getUserBean().map(this::redirectByUser).orElse(asHtml(virtualHost(path_Login_IndexJsp)));
        }
    
        /**
         * Redirects an authenticated user to the appropriate admin interface based on their roles.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeStrategy.java

                UpgradeOptions options, Optional<Boolean> specificOption, boolean defaultWhenNoOptionsSpecified) {
            // Handle --all option (overrides individual options)
            boolean useAll = options.all().orElse(false);
            if (useAll) {
                return true;
            }
    
            // Check specific option
            if (specificOption.isPresent()) {
                return specificOption.get();
            }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 3.4K bytes
    - Viewed (0)
Back to top