XStream
  1. XStream
  2. XSTR-673

Collections.EMPTY_LIST, Collections.EMPTY_SET and Collections.EMPTY_MAP should be aliased and not use references

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.4.1
    • Fix Version/s: 1.4.2
    • Component/s: Converters
    • Labels:
      None

      Description

      XML representation of Collections.EMPTY_LIST, Collections.EMPTY_SET and Collections.EMPTY_MAP expose implementation details and their singleton instances are expressed with references. The types should be aliased and be declared immutable.

        People

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

          Dates

          • Created:
            Updated:
            Resolved: