[infinispan-issues] [JBoss JIRA] (ISPN-8970) Cache.(entrySet|keySet|values).stream.iterator shouldn't support remove

William Burns (JIRA) issues at jboss.org
Tue Mar 20 15:35:00 EDT 2018


William Burns created ISPN-8970:
-----------------------------------

             Summary: Cache.(entrySet|keySet|values).stream.iterator shouldn't support remove
                 Key: ISPN-8970
                 URL: https://issues.jboss.org/browse/ISPN-8970
             Project: Infinispan
          Issue Type: Bug
          Components: Core
    Affects Versions: 9.2.0.Final
            Reporter: William Burns
            Assignee: William Burns


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.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the infinispan-issues mailing list