Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-2189

Hibernate Backed Classes should not have immutable collections passed in

      We have an optimisation in our hibernate-backed Directory and Application code where instead of replacing the attributes, we update the existing collection (using retainAll). This assumes that the collection field is mutable. Since we can't just create a immutable copy of what's passed in setAttributes, we need to ensure that all usages of setAttributes are passing in an immutable copy.

            [CWD-2189] Hibernate Backed Classes should not have immutable collections passed in

            i logged work - 24/Jan/2011 12:40 AM
            • Time Spent:
              0.6h
               
              Time submitted by jawong for review CR-CWD-238
            James Wong logged work - 20/Jan/2011 2:31 AM
            • Time Spent:
              8h
               
              Didn't expect so many tests to be affected by the somewhat simple change.

              4c7409f97ecf James Wong
              4c7409f97ecf James Wong
              Affected customers:
              0 This affects my team
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 2h Original Estimate - 2h
                  2h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 8.6h
                  8.6h