From 82b1a58735a335c33c6000888a1b5208f9f7e6fc Mon Sep 17 00:00:00 2001 From: Roman Chyla Date: Tue, 28 Dec 2021 15:36:15 -0500 Subject: [PATCH] fix: unittest override method --- .../apache/lucene/search/TestSecondOrderQueryTypesAds.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/contrib/adsabs/src/test/org/apache/lucene/search/TestSecondOrderQueryTypesAds.java b/contrib/adsabs/src/test/org/apache/lucene/search/TestSecondOrderQueryTypesAds.java index 1f0ccb4fa..76f8bc119 100644 --- a/contrib/adsabs/src/test/org/apache/lucene/search/TestSecondOrderQueryTypesAds.java +++ b/contrib/adsabs/src/test/org/apache/lucene/search/TestSecondOrderQueryTypesAds.java @@ -430,6 +430,11 @@ public void collect(int doc) throws IOException { public boolean needsScores() { return false; } + + @Override + public SecondOrderCollector copy() { + return this; + } }), new SimpleCollector() { // this one collects results