[ 
https://issues.apache.org/jira/browse/COLLECTIONS-763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alex Herbert resolved COLLECTIONS-763.
--------------------------------------
    Fix Version/s: 4.5
       Resolution: Done

Added in commit 

9a58c1bbdf7c65e71b33ab1ba406f1de5a8191df

> Remove BloomFilter constructors that create initial entry
> ---------------------------------------------------------
>
>                 Key: COLLECTIONS-763
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-763
>             Project: Commons Collections
>          Issue Type: Improvement
>          Components: Collection
>    Affects Versions: 4.x
>            Reporter: Claude Warren
>            Assignee: Claude Warren
>            Priority: Minor
>             Fix For: 4.5
>
>
> Bloom Filters have constructors that both define and create an initial entry. 
>   Defining both the collection and adding an initial entry in the constructor 
> is not standard across the java collections. 
> This change is to remove the BloomFilter constructors that produce initial 
> entries.
> So the line
> {{BloomFilter filter = new BitSetBloomFIlter( aHasher, aShape );}}
> becomes
> {{BloomFilter filter = new BitSetBloomFIlter(  aShape );}}
> {{filter.merge( aHahser );}}
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to