You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ah...@apache.org on 2022/08/24 12:23:49 UTC
[commons-collections] 02/02: Use private inner class
This is an automated email from the ASF dual-hosted git repository.
aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-collections.git
commit 7bf71f59b8acd1338cf4e19b91f8d0b1814f2fc1
Author: aherbert <a....@sussex.ac.uk>
AuthorDate: Wed Aug 24 13:21:24 2022 +0100
Use private inner class
---
.../apache/commons/collections4/bloomfilter/HasherCollection.java | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/main/java/org/apache/commons/collections4/bloomfilter/HasherCollection.java b/src/main/java/org/apache/commons/collections4/bloomfilter/HasherCollection.java
index 91aa43b1e..8483dfc30 100644
--- a/src/main/java/org/apache/commons/collections4/bloomfilter/HasherCollection.java
+++ b/src/main/java/org/apache/commons/collections4/bloomfilter/HasherCollection.java
@@ -116,11 +116,15 @@ public class HasherCollection implements Hasher {
/**
* IndexProducer that will return duplicates from the collection.
- *
*/
- class HasherCollectionIndexProducer implements IndexProducer {
+ private class HasherCollectionIndexProducer implements IndexProducer {
private final Shape shape;
+ /**
+ * Create an instance.
+ *
+ * @param shape The shape for the filter.
+ */
HasherCollectionIndexProducer(Shape shape) {
this.shape = shape;
}