Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-8970

Cache.(entrySet|keySet|values).stream.iterator shouldn't support remove

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 9.2.1.Final
    • 9.2.0.Final
    • Core
    • None

      The iterator remove method is completely unnecessary and adds additional wrapping and complexity to all stream objects. We should remove this completely. The Cache.(entrySet|keySet|values).iterator is the only ones that should support remove on the iterator.

              wburns@redhat.com Will Burns
              wburns@redhat.com Will Burns
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: