diff --git a/src/test/org/apache/lucene/search/CheckHits.java b/src/test/org/apache/lucene/search/CheckHits.java index 65c22ac8eb8..59fd05e9003 100644 --- a/src/test/org/apache/lucene/search/CheckHits.java +++ b/src/test/org/apache/lucene/search/CheckHits.java @@ -79,14 +79,5 @@ public class CheckHits { } } - public static void printDocNrs(Hits hits) throws IOException { - System.out.print("new int[] {"); - for (int i = 0; i < hits.length(); i++) { - System.out.print(hits.id(i)); - if (i != hits.length()-1) - System.out.print(", "); - } - System.out.println("}"); - } }