mirror of
https://github.com/opentripplanner/OpenTripPlanner.git
synced 2026-03-07 01:42:14 +01:00
Replace new HashMap<>(n) / new HashSet<>(n) with the Java 19+ factory methods HashMap.newHashMap(n) / HashSet.newHashSet(n) which correctly account for the 0.75 load factor. Also pre-size ArrayLists and HashMaps where the element count is known at construction time. |
||
|---|---|---|
| .. | ||
| src | ||
| pom.xml | ||