Details

    • Sub-task
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • 9.0.0.Alpha4
    • 9.0.0.Beta1
    • Core
    • None

    Description

      Currently the xManyCommand commands hold the keys in a set internally. During marshalling and splitting the set (when the command goes remote), we use HashSet. However, this has drawbacks:
      a) if the set passed to command uses different means of equality than Object.hashCode() and Object.equals() we may lose some keys in the derived set - we don't inject dataContainer's keyEquivalence to the commands
      b) as these sets are usually just iterated through (contains() is rare) it's less effective to use complex data structures as HashSet - plain ArrayList is sufficient.

      Attachments

        Activity

          People

            rvansa1@redhat.com Radim Vansa (Inactive)
            rvansa1@redhat.com Radim Vansa (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: