- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for mapToLong (0.05 seconds)
-
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/SmartProjectComparator.java
// Calculate maximum weight of downstream dependencies long maxDownstreamWeight = dependencyGraph.getDownstreamProjects(project, false).stream() .mapToLong(this::getProjectWeight) .max() .orElse(0L); // Weight = 1 + max downstream weight (similar to Takari Smart Builder) return 1L + maxDownstreamWeight; }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Aug 06 12:03:40 GMT 2025 - 4.6K bytes - Click Count (0)