Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

Corrected same-argument assertion.

Dawid Weiss85afee91b7b5
diff --git a/solr/core/src/test/org/apache/solr/util/hll/FullHLLTest.java b/solr/core/src/test/org/apache/solr/util/hll/FullHLLTest.java
index 6ba268dbb09..dd5f21f802e 100644
--- a/solr/core/src/test/org/apache/solr/util/hll/FullHLLTest.java
+++ b/solr/core/src/test/org/apache/solr/util/hll/FullHLLTest.java
@@ -327,7 +327,7 @@ public class FullHLLTest extends LuceneTestCase {
*/
private static void assertElementsEqual(final HLL hllA, final HLL hllB) {
final BitVector bitVectorA = hllA.probabilisticStorage;
- final BitVector bitVectorB = hllA.probabilisticStorage;
+ final BitVector bitVectorB = hllB.probabilisticStorage;
final LongIterator iterA = bitVectorA.registerIterator();
final LongIterator iterB = bitVectorB.registerIterator();