Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for withInitial (0.1 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

        public void setProjects(List<MavenProject> projects) {
            if (!projects.isEmpty()) {
                MavenProject first = projects.get(0);
                this.currentProject = ThreadLocal.withInitial(() -> first);
                this.topLevelProject = projects.stream()
                        .filter(project -> project.isExecutionRoot())
                        .findFirst()
                        .orElse(first);
            } else {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
Back to top