You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ro...@apache.org on 2018/04/11 21:46:08 UTC

lucene-solr:branch_7x: Fix precommit

Repository: lucene-solr
Updated Branches:
  refs/heads/branch_7x bcf9f5c36 -> c4a472a94


Fix precommit


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/c4a472a9
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/c4a472a9
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/c4a472a9

Branch: refs/heads/branch_7x
Commit: c4a472a9415fa7f3b1270eeb4e72fb5772bdf961
Parents: bcf9f5c
Author: Alan Woodward <ro...@apache.org>
Authored: Wed Apr 11 22:23:49 2018 +0100
Committer: Alan Woodward <ro...@apache.org>
Committed: Wed Apr 11 22:45:57 2018 +0100

----------------------------------------------------------------------
 .../src/java/org/apache/lucene/search/CheckHits.java            | 5 -----
 1 file changed, 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/c4a472a9/lucene/test-framework/src/java/org/apache/lucene/search/CheckHits.java
----------------------------------------------------------------------
diff --git a/lucene/test-framework/src/java/org/apache/lucene/search/CheckHits.java b/lucene/test-framework/src/java/org/apache/lucene/search/CheckHits.java
index bb71cdf..98f8e2e 100644
--- a/lucene/test-framework/src/java/org/apache/lucene/search/CheckHits.java
+++ b/lucene/test-framework/src/java/org/apache/lucene/search/CheckHits.java
@@ -21,7 +21,6 @@ import java.util.Locale;
 import java.util.Random;
 import java.util.Set;
 import java.util.TreeSet;
-import java.util.regex.Pattern;
 
 import junit.framework.Assert;
 import org.apache.lucene.index.IndexReader;
@@ -29,9 +28,7 @@ import org.apache.lucene.index.LeafReaderContext;
 import org.apache.lucene.util.LuceneTestCase;
 
 import static junit.framework.Assert.assertNotNull;
-import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertNull;
-import static org.junit.Assert.assertTrue;
 
 /**
  * Utility class for asserting expected hits in tests.
@@ -86,7 +83,6 @@ public class CheckHits {
    * Tests that a query matches the an expected set of documents using a
    * HitCollector.
    * <p>
-   * <p>
    * Note that when using the HitCollector API, documents will be collected
    * if they "match" regardless of what their score is.
    * </p>
@@ -160,7 +156,6 @@ public class CheckHits {
   /**
    * Tests that a query matches the an expected set of documents using Hits.
    * <p>
-   * <p>
    * Note that when using the Hits API, documents will only be returned
    * if they have a positive normalized score.
    * </p>