Changeset 8346 in josm for trunk/src/org/openstreetmap/josm/command
- Timestamp:
- 2015-05-11T13:34:53+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/command/PurgeCommand.java
r8338 r8346 38 38 protected Storage<PrimitiveData> makeIncompleteData; 39 39 40 protected Map<PrimitiveId, PrimitiveData> makeIncompleteData _byPrimId;40 protected Map<PrimitiveId, PrimitiveData> makeIncompleteDataByPrimId; 41 41 42 42 protected final ConflictCollection purgedConflicts = new ConflictCollection(); … … 69 69 protected final void saveIncomplete(Collection<OsmPrimitive> makeIncomplete) { 70 70 makeIncompleteData = new Storage<>(new Storage.PrimitiveIdHash()); 71 makeIncompleteData _byPrimId = makeIncompleteData.foreignKey(new Storage.PrimitiveIdHash());71 makeIncompleteDataByPrimId = makeIncompleteData.foreignKey(new Storage.PrimitiveIdHash()); 72 72 73 73 for (OsmPrimitive osm : makeIncomplete) { … … 86 86 for (int i=toPurge.size()-1; i>=0; --i) { 87 87 OsmPrimitive osm = toPurge.get(i); 88 if (makeIncompleteData _byPrimId.containsKey(osm)) {88 if (makeIncompleteDataByPrimId.containsKey(osm)) { 89 89 // we could simply set the incomplete flag 90 90 // but that would not free memory in case the … … 121 121 122 122 for (OsmPrimitive osm : toPurge) { 123 PrimitiveData data = makeIncompleteData _byPrimId.get(osm);123 PrimitiveData data = makeIncompleteDataByPrimId.get(osm); 124 124 if (data != null) { 125 125 if (ds.getPrimitiveById(osm) != osm)
Note: See TracChangeset
for help on using the changeset viewer.