equal
deleted
inserted
replaced
405 // |
405 // |
406 // LDH stands for "letter/digit/hyphen", with characters restricted to the |
406 // LDH stands for "letter/digit/hyphen", with characters restricted to the |
407 // 26-letter Latin alphabet <A-Z a-z>, the digits <0-9>, and the hyphen |
407 // 26-letter Latin alphabet <A-Z a-z>, the digits <0-9>, and the hyphen |
408 // <->. |
408 // <->. |
409 // Non LDH refers to characters in the ASCII range, but which are not |
409 // Non LDH refers to characters in the ASCII range, but which are not |
410 // letters, digits or the hypen. |
410 // letters, digits or the hyphen. |
411 // |
411 // |
412 // non-LDH = 0..0x2C, 0x2E..0x2F, 0x3A..0x40, 0x5B..0x60, 0x7B..0x7F |
412 // non-LDH = 0..0x2C, 0x2E..0x2F, 0x3A..0x40, 0x5B..0x60, 0x7B..0x7F |
413 // |
413 // |
414 private static boolean isNonLDHAsciiCodePoint(int ch){ |
414 private static boolean isNonLDHAsciiCodePoint(int ch){ |
415 return (0x0000 <= ch && ch <= 0x002C) || |
415 return (0x0000 <= ch && ch <= 0x002C) || |