You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Claude Warren (Jira)" <ji...@apache.org> on 2022/06/15 10:26:00 UTC

[jira] [Created] (COLLECTIONS-829) BloomFilter: Drop mergeInPlace

Claude Warren created COLLECTIONS-829:
-----------------------------------------

             Summary: BloomFilter: Drop mergeInPlace
                 Key: COLLECTIONS-829
                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-829
             Project: Commons Collections
          Issue Type: Improvement
          Components: Collection
            Reporter: Claude Warren
             Fix For: 4.5


It is confusing with merge being present as well. A user can always copy a filter and do a merge to a new copy. Currently the merge to a copy has a return statement of the mergeInPlace that is being ignored. So you may return a copy that has not been correctly merged. This is not possible with the current implementations except the ArrayCountingBloomFilter which can return false if the state is invalid after merge.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)