Changeset 15042 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2019-05-03T15:38:44+02:00 (6 years ago)
Author:
Don-vip
Message:

fix #17667 - allow arrows, several valid use cases in transport

File:
1 edited

Legend:

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

    r14991 r15042  
    422422    }
    423423
    424     private static boolean containsUnusualUnicodeCharacter(String key, String value) {
     424    static boolean containsUnusualUnicodeCharacter(String key, String value) {
    425425        return value != null && value.chars().anyMatch(c -> isUnusualUnicodeBlock(key, UnicodeBlock.of(c)));
    426426    }
     
    446446        // CHECKSTYLE.OFF: BooleanExpressionComplexity
    447447        return b == UnicodeBlock.COMBINING_MARKS_FOR_SYMBOLS            // U+20D0..U+20FF
    448             || b == UnicodeBlock.ARROWS                                 // U+2190..U+21FF
    449448            || b == UnicodeBlock.MATHEMATICAL_OPERATORS                 // U+2200..U+22FF
    450449            || b == UnicodeBlock.ENCLOSED_ALPHANUMERICS                 // U+2460..U+24FF
Note: See TracChangeset for help on using the changeset viewer.