From 7e1fbdf31a8b835c3c462e849efa30e816cfb3c8 Mon Sep 17 00:00:00 2001 From: Mike McCandless Date: Thu, 25 Feb 2016 05:51:18 -0500 Subject: [PATCH] fix compilation errors --- .../test/org/apache/lucene/document/TestBigIntegerPoint.java | 2 +- .../test/org/apache/lucene/document/TestInetAddressPoint.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lucene/sandbox/src/test/org/apache/lucene/document/TestBigIntegerPoint.java b/lucene/sandbox/src/test/org/apache/lucene/document/TestBigIntegerPoint.java index b5d80228e15..3e8cf3db011 100644 --- a/lucene/sandbox/src/test/org/apache/lucene/document/TestBigIntegerPoint.java +++ b/lucene/sandbox/src/test/org/apache/lucene/document/TestBigIntegerPoint.java @@ -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(); diff --git a/lucene/sandbox/src/test/org/apache/lucene/document/TestInetAddressPoint.java b/lucene/sandbox/src/test/org/apache/lucene/document/TestInetAddressPoint.java index b2f41c4f346..c9be31fc312 100644 --- a/lucene/sandbox/src/test/org/apache/lucene/document/TestInetAddressPoint.java +++ b/lucene/sandbox/src/test/org/apache/lucene/document/TestInetAddressPoint.java @@ -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();