You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2022/11/06 16:02:06 UTC
[commons-collections] 04/04: These test classes can be static
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-collections.git
commit e377b46bc8e6f1730e7893b388d77dc2fbfa1b0b
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Nov 6 10:55:42 2022 -0500
These test classes can be static
---
.../collections4/bloomfilter/IndexProducerFromBitmapProducerTest.java | 2 +-
.../org/apache/commons/collections4/bloomfilter/IndexProducerTest.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/test/java/org/apache/commons/collections4/bloomfilter/IndexProducerFromBitmapProducerTest.java b/src/test/java/org/apache/commons/collections4/bloomfilter/IndexProducerFromBitmapProducerTest.java
index c4c5689b3..f048ba35c 100644
--- a/src/test/java/org/apache/commons/collections4/bloomfilter/IndexProducerFromBitmapProducerTest.java
+++ b/src/test/java/org/apache/commons/collections4/bloomfilter/IndexProducerFromBitmapProducerTest.java
@@ -84,7 +84,7 @@ public class IndexProducerFromBitmapProducerTest extends AbstractIndexProducerTe
}
}
- private class TestingBitMapProducer implements BitMapProducer {
+ private static class TestingBitMapProducer implements BitMapProducer {
long[] values;
TestingBitMapProducer(final long[] values) {
diff --git a/src/test/java/org/apache/commons/collections4/bloomfilter/IndexProducerTest.java b/src/test/java/org/apache/commons/collections4/bloomfilter/IndexProducerTest.java
index 791856504..52f557a83 100644
--- a/src/test/java/org/apache/commons/collections4/bloomfilter/IndexProducerTest.java
+++ b/src/test/java/org/apache/commons/collections4/bloomfilter/IndexProducerTest.java
@@ -51,7 +51,7 @@ public class IndexProducerTest {
}
}
- private class TestingBitMapProducer implements BitMapProducer {
+ private static class TestingBitMapProducer implements BitMapProducer {
long[] values;
TestingBitMapProducer(final long[] values) {