Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6560972

[Col] CollationRules should avoid new String(String)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P5 P5
    • 8
    • 7
    • core-libs
    • b55
    • generic
    • generic

      CollationRules calls new String(String) which should be avoided.

      final class CollationRules {
          final static String DEFAULTRULES = new String(
              "" // no FRENCH accent order by default, add in French Delta
              // IGNORABLES (up to first < character)
              // COMPLETELY IGNORE format characters
              + "='\u200B'=\u200C=\u200D=\u200E=\u200F"
              ...

            naoto Naoto Sato
            okutsu Masayoshi Okutsu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: