Refine the spec of equals() and hashCode() for j.text.Format classes

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 22
    • Affects Version/s: 6
    • Component/s: core-libs
    • None
    • b18
    • generic
    • generic

      The specification of equals() and hashCode() methods should be refined for the following classes:

      MessageFormat
      ChoiceFormat
      DecimalFormat + DecimalFormatSymbols
      NumberFormat
      DateFormat + DateFormatSymbols
      SimpleDateFormat

      The current specification either says "Equality comparison between two message format objects" or "Overrides equals", which does not contain the necessary information to implement the method. It should at least say what is compared.

            Assignee:
            Justin Lu
            Reporter:
            Xiaozhong Wang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: