- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for calculateWeight (0.04 seconds)
-
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/SmartProjectComparator.java
if (existingWeight != null) { return existingWeight; } // Calculate weight without using computeIfAbsent to avoid recursive update issues long weight = calculateWeight(project); // Use putIfAbsent to handle concurrent access safely Long previousWeight = projectWeights.putIfAbsent(project, weight); return previousWeight != null ? previousWeight : weight; }
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)