XStream
  1. XStream
  2. XSTR-419

handle all Enums as immutable types

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3
    • Component/s: Core
    • Labels:
      None

      Description

      from Jörg on user thread:

      "immutability is normally something that is a very special case tied to special classes. It's just that Enums represent a complete hierarchy of class types that should be treated in this way. Therefore I am more inclined to add something like this to the mappers directly."

      in general it woudl be nice to handle all enum types as immutable classes so that references are not used.

        People

        • Assignee:
          Jörg Schaible
          Reporter:
          Will Johnson
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved: