Claudenw commented on code in PR #329: URL: https://github.com/apache/commons-collections/pull/329#discussion_r946467749
########## src/main/java/org/apache/commons/collections4/bloomfilter/SparseBloomFilter.java: ########## @@ -169,7 +169,7 @@ public boolean merge(Hasher hasher) { @Override public boolean merge(BloomFilter other) { Objects.requireNonNull(other, "other"); - IndexProducer producer = other.isSparse() ? (IndexProducer) other : IndexProducer.fromBitMapProducer(other); + IndexProducer producer = (other.characteristics()&SPARSE)>0 ? (IndexProducer) other : IndexProducer.fromBitMapProducer(other); Review Comment: fixed -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org