Changeset 35382 in osm for applications/editors/josm/plugins/reverter/src
- Timestamp:
- 2020-03-19T17:13:34+01:00 (5 years ago)
- Location:
- applications/editors/josm/plugins/reverter/src/reverter
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/reverter/src/reverter/ChangesetReverter.java
r35310 r35382 14 14 import java.util.Iterator; 15 15 import java.util.List; 16 import java.util.Map .Entry;16 import java.util.Map; 17 17 18 18 import org.openstreetmap.josm.command.Command; … … 258 258 if (progressMonitor.isCanceled()) return; 259 259 // If multi-read failed, retry with regular read 260 for ( Entry<Long,Integer> entry : nodeList.entrySet()) {260 for (Map.Entry<Long,Integer> entry : nodeList.entrySet()) { 261 261 if (progressMonitor.isCanceled()) return; 262 262 readObjectVersion(rdr, new SimplePrimitiveId(entry.getKey(),OsmPrimitiveType.NODE), entry.getValue(), progressMonitor); 263 263 } 264 for ( Entry<Long,Integer> entry : wayList.entrySet()) {264 for (Map.Entry<Long,Integer> entry : wayList.entrySet()) { 265 265 if (progressMonitor.isCanceled()) return; 266 266 readObjectVersion(rdr, new SimplePrimitiveId(entry.getKey(),OsmPrimitiveType.WAY), entry.getValue(), progressMonitor); 267 267 } 268 for ( Entry<Long,Integer> entry : relationList.entrySet()) {268 for (Map.Entry<Long,Integer> entry : relationList.entrySet()) { 269 269 if (progressMonitor.isCanceled()) return; 270 270 readObjectVersion(rdr, new SimplePrimitiveId(entry.getKey(),OsmPrimitiveType.RELATION), entry.getValue(), progressMonitor); -
applications/editors/josm/plugins/reverter/src/reverter/OsmServerMultiObjectReader.java
r35084 r35382 9 9 import java.util.List; 10 10 import java.util.Map; 11 import java.util.Map.Entry;12 11 13 12 import org.openstreetmap.josm.data.osm.DataSet; … … 48 47 StringBuilder sb = new StringBuilder(); 49 48 int cnt=0; 50 for ( Entry<Long,Integer> entry : list.entrySet()) {49 for (Map.Entry<Long,Integer> entry : list.entrySet()) { 51 50 if (cnt == 0) { 52 51 sb.append(type.getAPIName());
Note:
See TracChangeset
for help on using the changeset viewer.