Changeset 13246 in josm


Ignore:
Timestamp:
2017-12-27T18:10:31+01:00 (4 months ago)
Author:
Don-vip
Message:

see #15645 - revert r13226

File:
1 edited

Legend:

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

    r13226 r13246  
    332332    }
    333333
    334     private static String fixLow(String s) {
    335         return s.replaceAll("[\\x00-\\x1F]", "");
    336     }
    337 
    338334    private static Set<String> getPresetValues(String key) {
    339335        Set<String> res = TaggingPresets.getPresetValues(key);
     
    441437                        .message(tr("Tag value contains character with code less than 0x20"), s, key)
    442438                        .primitives(p)
    443                         .fix(() -> new ChangePropertyCommand(p, key, fixLow(value)))
    444439                        .build());
    445440                withErrors.put(p, "ICV");
     
    449444                        .message(tr("Tag key contains character with code less than 0x20"), s, key)
    450445                        .primitives(p)
    451                         .fix(() -> new ChangePropertyKeyCommand(p, key, fixLow(key)))
    452446                        .build());
    453447                withErrors.put(p, "ICK");
Note: See TracChangeset for help on using the changeset viewer.