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

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

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 9.2.0.Final
    • Fix Version/s: 9.2.1.Final
    • Component/s: Core
    • Labels:
      None

      Description

      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                william.burns Will Burns
                Reporter:
                william.burns Will Burns
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: