Changeset 5721 in josm for trunk


Ignore:
Timestamp:
2013-02-16T00:02:58+01:00 (12 years ago)
Author:
Don-vip
Message:

fix #8381 - no warning about left / right when combining ways and changing the direction

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/corrector/ReverseWayTagCorrector.java

    r5599 r5721  
    9494                }
    9595            }
     96            String value = way.get(key);
    9697            for (PrefixSuffixSwitcher prefixSuffixSwitcher : prefixSuffixSwitchers) {
    97                 if (!key.equals(prefixSuffixSwitcher.apply(key))) {
     98                if (!key.equals(prefixSuffixSwitcher.apply(key)) || !value.equals(prefixSuffixSwitcher.apply(value))) {
    9899                    return false;
    99100                }
Note: See TracChangeset for help on using the changeset viewer.