Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-3055

ListModelSet retainAll doesn't work properly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 5.0.0, 3.6.4, 6.0.0, 7.0.0, 8.0.0
    • Components
    • None

      The method retainAll from ListModelSet retains elements not present in the collection passed as parameter.

      Example (attached java file):
      ListModelSet: A, B, C, D, E, F
      retainAll(C)
      Result: C, D, E, F

      I would expect to only find the C element in the ListModelSet.

      I executed the same test with ListModelList and got the expected result (only C is present).

            Unassigned Unassigned
            famls famls
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: