- Timestamp:
- 2024-01-24T16:24:20+01:00 (11 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/AbstractParser.java
r18956 r18957 186 186 RelationMemberData member = new RelationMemberData(role, type, ref); 187 187 // see #20405: cache equal instances of members 188 RelationMemberData cachedMember = memberCache .putIfAbsent(member, member); 189 if (cachedMember == null) 190 cachedMember = member; 188 RelationMemberData cachedMember = memberCache.computeIfAbsent(member, m -> m); 191 189 ((HistoryRelation) currentPrimitive).addMember(cachedMember); 192 190 }
Note:
See TracChangeset
for help on using the changeset viewer.