Changeset 3413 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2010-08-04T00:10:31+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/corrector/ReverseWayTagCorrector.java
r3317 r3413 151 151 } 152 152 153 if (!key.equals(newKey) || !value.equals(newValue)) { 153 boolean needsCorrection = !key.equals(newKey); 154 if (way.get(newKey) != null && way.get(newKey).equals(newValue)) { 155 needsCorrection = false; 156 } 157 if (!value.equals(newValue)) { 158 needsCorrection = true; 159 } 160 161 if (needsCorrection) { 154 162 tagCorrections.add(new TagCorrection(key, value, newKey, newValue)); 155 163 }
Note:
See TracChangeset
for help on using the changeset viewer.