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

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

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
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: