sun.text.Utility.arrayEquals methods no longer needed

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 6
    • Affects Version/s: 5.0
    • Component/s: core-libs
    • None
    • b48
    • generic
    • generic

      The class sun.text.Utility provides several arrayEquals methods, which are used by the classes java.text.MessageFormat and java.text.DateFormatSymbols (and possibly others). These methods are somewhat dubious in that they accept non-arrays. In any case, they're no longer needed because java.util.Arrays provides equals methods. The arrayEquals and arrayRegionMatches methods should be removed and calls to them replaced with calls to java.util.Arrays.equals.
      ###@###.### 2005-1-11 03:34:02 GMT

            Assignee:
            Yuka Kamiya (Inactive)
            Reporter:
            Norbert Lindenberg (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: