Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 187 for isPresent (0.04 sec)

  1. build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts

                })
            }
            .reduce { acc, next ->
                acc.zip(next) { left, right ->
                    when {
                        !left.isPresent -> right
                        !right.isPresent -> left
                        else -> Optional.of(combiner(left.get(), right.get()))
                    }
                }
            }
            .map { it.orElse(null) }
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Dec 19 06:44:41 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/ProtoLookup.java

            this.components = components;
        }
    
        @Override
        public <T> T lookup(Class<T> type) {
            Optional<T> optional = lookupOptional(type);
            if (optional.isPresent()) {
                return optional.get();
            } else {
                throw new LookupException("No mapping for key: " + type.getName());
            }
        }
    
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerRequest.java

         * if applicable.
         */
        default boolean effectiveVerbose() {
            return options().isPresent() && options().orElseThrow().verbose().orElse(false)
                    || ciInfo().isPresent() && ciInfo().orElseThrow().isVerbose();
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  4. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanCreatorTest.java

            }.writePlan(System.out::println, plan);
    
            plan.allSteps().forEach(phase -> {
                phase.predecessors.forEach(
                        pred -> assertTrue(plan.step(pred.project, pred.name).isPresent(), "Phase not present: " + pred));
            });
        }
    
        @Test
        void testAlias() {
            MavenProject p1 = new MavenProject();
            p1.setArtifactId("p1");
            p1.setCollectedProjects(List.of());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 28 15:21:19 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  5. 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";
                }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeStrategy.java

            boolean useAll = options.all().orElse(false);
            if (useAll) {
                return true;
            }
    
            // Check specific option
            if (specificOption.isPresent()) {
                return specificOption.get();
            }
    
            // Apply default behavior when no specific options are provided
            if (defaultWhenNoOptionsSpecified
                    && options.infer().isEmpty()
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  7. 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 {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 07:01:25 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  8. 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);
            }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 07:01:25 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  9. build-logic/jvm/src/main/kotlin/gradlebuild.launchable-jar.gradle.kts

            }
        }
        manifest.attributes("Class-Path-Source" to "manifestClasspath")
        manifest.attributes("Class-Path" to classpath)
        if (app.mainClassName.isPresent) {
            manifest.attributes("Main-Class" to app.mainClassName)
        }
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Jun 21 18:38:28 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/PackagingProfileActivator.java

        }
    
        @Override
        public boolean presentInConfig(
                org.apache.maven.model.Profile profile, ProfileActivationContext context, ModelProblemCollector problems) {
            return getActivationPackaging(profile).isPresent();
        }
    
        private static boolean isPackaging(ProfileActivationContext context, String p) {
            String packaging = context.getUserProperties().get(ProfileActivationContext.PROPERTY_NAME_PACKAGING);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 2.5K bytes
    - Viewed (0)
Back to top