Uploaded image for project: 'Syncope'
  1. Syncope
  2. SYNCOPE-49

Make utility maps returned by TO's methods read-only

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0-incubating
    • Fix Version/s: 1.0.0-incubating
    • Component/s: client
    • Labels:
      None

      Description

      Maps returned by TO's methods (like as UserTO.getAttributeMap) return a map instance that will not ever be considered for putting or updating entries (there are already appropriate methods for this, like as UserTO.addAttribute() or UserTO.removeAttribute()).

      Make such maps read-only by using Collections.unmodifiableMap().

        Attachments

          Activity

            People

            • Assignee:
              ilgrosso Francesco Chicchiriccò
              Reporter:
              ilgrosso Francesco Chicchiriccò
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: