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

Currency class doesn't declare immutable members as final

XMLWordPrintable

    • b45
    • generic
    • generic

      JSR 133 requires that final classes declare immutable members as final. The java.util.Currenty class should make its currency code final.

      Private member fields that are initialized during object construction should be marked private final.

            joconnersunw John Oconner (Inactive)
            joconnersunw John Oconner (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: