mirror of https://github.com/apache/lucene.git
LUCENE-10564: Fix errorprone warning
This slipped through in the original commit because we only enable errorprone on nightly runs.
This commit is contained in:
parent
802f5422c0
commit
2cca0e8441
|
@ -103,6 +103,6 @@ public class TestSparseFixedBitSet extends BaseBitSetTestCase<SparseFixedBitSet>
|
|||
|
||||
BitSet orCopy = new SparseFixedBitSet(size);
|
||||
orCopy.or(new BitSetIterator(original, size));
|
||||
assertEquals(orCopy.ramBytesUsed(), original.ramBytesUsed(), 64L);
|
||||
assertTrue(Math.abs(original.ramBytesUsed() - orCopy.ramBytesUsed()) <= 64L);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue