Changeset 8969 in josm


Ignore:
Timestamp:
2015-10-29T22:15:23+01:00 (3 years ago)
Author:
Don-vip
Message:

fix erroneous tagchecker warning: key full_name:fa looks like full_name:fa (seen in #12025)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/validation/tests/TagChecker.java

    r8958 r8969  
    406406                        String prettifiedKey = harmonizeKey(key);
    407407                        String fixedKey = harmonizedKeys.get(prettifiedKey);
    408                         if (fixedKey != null && !"".equals(fixedKey)) {
     408                        if (fixedKey != null && !"".equals(fixedKey) && !fixedKey.equals(key)) {
    409409                            // misspelled preset key
    410410                            String i = marktr("Key ''{0}'' looks like ''{1}''.");
Note: See TracChangeset for help on using the changeset viewer.