mirror of https://github.com/apache/lucene.git
fix compilation errors
This commit is contained in:
parent
a1f5269280
commit
7e1fbdf31a
|
@ -45,7 +45,7 @@ public class TestBigIntegerPoint extends LuceneTestCase {
|
|||
assertEquals(1, searcher.count(BigIntegerPoint.newRangeQuery("field", large.subtract(BigInteger.ONE), false, large.add(BigInteger.ONE), false)));
|
||||
assertEquals(1, searcher.count(BigIntegerPoint.newSetQuery("field", large)));
|
||||
assertEquals(0, searcher.count(BigIntegerPoint.newSetQuery("field", large.subtract(BigInteger.ONE))));
|
||||
assertEquals(0, searcher.count(BigIntegerPoint.newSetQuery("field"));
|
||||
assertEquals(0, searcher.count(BigIntegerPoint.newSetQuery("field")));
|
||||
|
||||
reader.close();
|
||||
writer.close();
|
||||
|
|
|
@ -46,7 +46,7 @@ public class TestInetAddressPoint extends LuceneTestCase {
|
|||
assertEquals(1, searcher.count(InetAddressPoint.newRangeQuery("field", InetAddress.getByName("1.2.3.3"), false, InetAddress.getByName("1.2.3.5"), false)));
|
||||
assertEquals(1, searcher.count(InetAddressPoint.newSetQuery("field", InetAddress.getByName("1.2.3.4"))));
|
||||
assertEquals(0, searcher.count(InetAddressPoint.newSetQuery("field", InetAddress.getByName("1.2.3.3"))));
|
||||
assertEquals(0, searcher.count(InetAddressPoint.newSetQuery("field"));
|
||||
assertEquals(0, searcher.count(InetAddressPoint.newSetQuery("field")));
|
||||
|
||||
reader.close();
|
||||
writer.close();
|
||||
|
|
Loading…
Reference in New Issue