diff --git a/src/org/openstreetmap/josm/corrector/ReverseWayTagCorrector.java b/src/org/openstreetmap/josm/corrector/ReverseWayTagCorrector.java
index 0f8dec5..70da4c8 100644
|
a
|
b
|
public class ReverseWayTagCorrector extends TagCorrector<Way> {
|
| 137 | 137 | if (newValue.equals(value)) { |
| 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); |
| 143 | 143 | if (!key.equals(newKey)) { |
| … |
… |
public class ReverseWayTagCorrector extends TagCorrector<Way> {
|
| 210 | 210 | + "of the way and its nodes are suggested in order " |
| 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 | } |