Changeset 2381 in josm for trunk/src/org/openstreetmap/josm/corrector
- Timestamp:
- 2009-11-02T07:51:28+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/corrector/ReverseWayTagCorrector.java
r1938 r2381 72 72 public Collection<Command> execute(Way oldway, Way way) throws UserCancelException { 73 73 Map<OsmPrimitive, List<TagCorrection>> tagCorrectionsMap = 74 new HashMap<OsmPrimitive, List<TagCorrection>>();74 new HashMap<OsmPrimitive, List<TagCorrection>>(); 75 75 76 76 ArrayList<OsmPrimitive> primitives = new ArrayList<OsmPrimitive>(); … … 112 112 113 113 Map<OsmPrimitive, List<RoleCorrection>> roleCorrectionMap = 114 new HashMap<OsmPrimitive, List<RoleCorrection>>();114 new HashMap<OsmPrimitive, List<RoleCorrection>>(); 115 115 roleCorrectionMap.put(way, new ArrayList<RoleCorrection>()); 116 116 117 for (Relation relation : Main.main.getCurrentDataSet(). relations) {117 for (Relation relation : Main.main.getCurrentDataSet().getRelations()) { 118 118 int position = 0; 119 119 for (RelationMember member : relation.getMembers()) {
Note:
See TracChangeset
for help on using the changeset viewer.