Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for or_else (0.27 sec)

  1. 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);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 93.2K bytes
    - Viewed (0)
  2. 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(),
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 16:34:29 UTC 2024
    - 57.1K bytes
    - Viewed (0)
  3. 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();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jun 10 11:04:53 UTC 2024
    - 73.9K bytes
    - Viewed (0)
Back to top