Skip to content

Apache Lucene open-source search software

pull QueryUtil check back out

Mark Robert Miller6fb76f644a58
diff --git a/src/test/org/apache/lucene/search/payloads/TestBoostingNearQuery.java b/src/test/org/apache/lucene/search/payloads/TestBoostingNearQuery.java
index f46aca64fda..c031eb97833 100644
--- a/src/test/org/apache/lucene/search/payloads/TestBoostingNearQuery.java
+++ b/src/test/org/apache/lucene/search/payloads/TestBoostingNearQuery.java
@@ -121,7 +121,6 @@ public class TestBoostingNearQuery extends LuceneTestCase {
TopDocs hits;
query = newPhraseQuery("field", "twenty two", true);
- QueryUtils.check(query);
// all 10 hits should have score = 3 because adjacent terms have payloads of 2,4
// and all the similarity factors are set to 1