- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for or_else (0.3 sec)
-
maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java
.findFirst() .orElse(null); assertNotNull(plugin, "Unable to find plugin with artifactId: " + artifactId); List<PluginExecution> pluginExecutions = plugin.getExecutions(); PluginExecution pluginExecution = pluginExecutions.stream() .filter(pe -> pe.getId().equals(expectedId)) .findFirst() .orElse(null);
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 93.2K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java
.flatMap(r -> r.getProblems().stream()) .filter(p -> p.getException() instanceof CycleDetectedException) .findAny() .orElse(null); if (cycle != null) { throw new RuntimeException(new ProjectCycleException( "The projects in the reactor contain a cyclic reference: " + cycle.getMessage(),
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 15:10:38 GMT 2024 - 56.9K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java
String location = f.next().location; ActivationFrame parent = f.next(); return parent.parent.map(p -> p.getLocation(location)).orElse(null); }; final UnaryOperator<String> transformer = s -> { if (hasProjectExpression(s)) { String path = pathSupplier.get();
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 13:13:07 GMT 2024 - 73.1K bytes - Viewed (0)