Changeset 4345 in josm
- Timestamp:
- 2011-08-26T22:30:56+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/corrector/ReverseWayTagCorrector.java
r3916 r4345 138 138 newValue = invertNumber(value); 139 139 } 140 } else if (! key.startsWith("name") && !key.endsWith("name")) {140 } else if (!ignoreKeyForPrefixSuffixCorrection(key)) { 141 141 for (PrefixSuffixSwitcher prefixSuffixSwitcher : prefixSuffixSwitchers) { 142 142 newKey = prefixSuffixSwitcher.apply(key); … … 211 211 + "to maintain data consistency.")); 212 212 } 213 214 private static boolean ignoreKeyForPrefixSuffixCorrection(String key) { 215 return key.startsWith("name") || key.endsWith("name") 216 || key.equalsIgnoreCase("fixme") || key.startsWith("note"); 217 } 213 218 }
Note:
See TracChangeset
for help on using the changeset viewer.