Changeset 15614 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2019-12-25T20:37:52+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/TagChecker.java
r15613 r15614 439 439 } 440 440 441 private static boolean isAllowedPhoneticCharacter(String key, int c) { 442 return c == 0x0259 // U+0259 is used as a standard character in azerbaidjani 443 || (key.endsWith("ref") && 0x1D2C <= c && c <= 0x1D42); // allow uppercase superscript latin characters in *ref tags 444 } 445 441 446 private static boolean isUnusualPhoneticUse(String key, UnicodeBlock b, int c) { 442 return c != 0x0259 // U+0259 is used as a standard character in azerbaidjani447 return !isAllowedPhoneticCharacter(key, c) 443 448 && (b == UnicodeBlock.IPA_EXTENSIONS // U+0250..U+02AF 444 449 || b == UnicodeBlock.PHONETIC_EXTENSIONS // U+1D00..U+1D7F
Note:
See TracChangeset
for help on using the changeset viewer.