- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 42 for idPresent (0.07 sec)
-
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/BuildModelSourceTransformer.java
Optional<RelativeProject> resolvedParent = resolveRelativePath( pomFile, context, Paths.get(path), parent.getGroupId(), parent.getArtifactId()); resolvedParent.ifPresent(relativeProject -> parent.setVersion(relativeProject.getVersion())); } } } // // CI friendly versions //
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.5K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Optional.java
* relevant methods below. * * <ul> * <li>This class is serializable; {@code java.util.Optional} is not. * <li>{@code java.util.Optional} has the additional methods {@code ifPresent}, {@code filter}, * {@code flatMap}, and {@code orElseThrow}. * <li>{@code java.util} offers the primitive-specialized versions {@code OptionalInt}, {@code
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 15.4K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/forked/DefaultForkedMavenInvoker.java
cmdAndArguments.add("--install-toolchains"); cmdAndArguments.add(mavenOptions.altInstallationToolchains().get()); } if (mavenOptions.logFile().isPresent()) { cmdAndArguments.add("--log-file"); cmdAndArguments.add(mavenOptions.logFile().get()); } if (mavenOptions.color().isPresent()) { cmdAndArguments.add("--color");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.1K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java
MavenOptions mavenOptions = context.invokerRequest.options(); if (mavenOptions.failFast().isPresent()) { return MavenExecutionRequest.REACTOR_FAIL_FAST; } else if (mavenOptions.failAtEnd().isPresent()) { return MavenExecutionRequest.REACTOR_FAIL_AT_END; } else if (mavenOptions.failNever().isPresent()) { return MavenExecutionRequest.REACTOR_FAIL_NEVER; } else {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 29.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/OptionalTest.java
} public void testIsPresent_no() { assertFalse(Optional.absent().isPresent()); } @SuppressWarnings("OptionalOfRedundantMethod") // Unit tests for Optional public void testIsPresent_yes() { assertTrue(Optional.of("training").isPresent()); } public void testGet_absent() { Optional<String> optional = Optional.absent();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 10.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/scheduler/AdminSchedulerAction.java
}).useForm(EditForm.class, op -> { op.setup(form -> { scheduledJobService.getScheduledJob(id).ifPresent(entity -> { loadScheduledJob(form, entity); form.crudMode = crudMode; LaRequestUtil.getOptionalRequest().ifPresent(request -> { request.setAttribute("running", entity.isRunning());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 12 01:54:46 UTC 2024 - 18.1K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LayeredOptions.java
} protected <T> Optional<T> returnFirstPresentOrEmpty(Function<O, Optional<T>> getter) { for (O option : options) { Optional<T> o = getter.apply(option); if (o.isPresent()) { return o; } } return Optional.empty(); } protected Optional<List<String>> collectListIfPresentOrEmpty(Function<O, Optional<List<String>>> getter) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.5K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/graph/ProjectSelector.java
for (String selector : projectSelectors) { Optional<MavenProject> optSelectedProject = findOptionalProjectBySelector(projects, baseDirectory, selector); if (!optSelectedProject.isPresent()) { String message = "Could not find the selected project in the reactor: " + selector; throw new MavenExecutionException(message, request.getPom()); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.3K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java
if (invokerRequest.options().help().isPresent()) { Consumer<String> writer = determineWriter(context); invokerRequest.options().displayHelp(context.invokerRequest.parserRequest(), writer); throw new ExitException(0); } if (invokerRequest.options().showVersionAndExit().isPresent()) { showVersion(context); throw new ExitException(0);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 38K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Init.java
String fieldKey = field.getKey(); String fieldDescription = "Configure " + fieldKey + ": " + field.getDescription(); if (field.getOptions().isPresent()) { // list options ListPromptBuilder listPromptBuilder = promptBuilder.createListPrompt().name(fieldKey).message(fieldDescription);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12.1K bytes - Viewed (0)