From 98eb97a1ffe55169af4608b50c3f0053f60eebc7 Mon Sep 17 00:00:00 2001 From: Igor Motov Date: Mon, 5 Nov 2012 06:37:24 -0500 Subject: [PATCH] lucene 4: fix NoopCollector --- .../org/elasticsearch/common/lucene/search/NoopCollector.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/java/org/elasticsearch/common/lucene/search/NoopCollector.java b/src/main/java/org/elasticsearch/common/lucene/search/NoopCollector.java index 60c52b4f2dd..806f4b8d8f3 100644 --- a/src/main/java/org/elasticsearch/common/lucene/search/NoopCollector.java +++ b/src/main/java/org/elasticsearch/common/lucene/search/NoopCollector.java @@ -20,7 +20,6 @@ package org.elasticsearch.common.lucene.search; import org.apache.lucene.index.AtomicReaderContext; -import org.apache.lucene.index.IndexReader; import org.apache.lucene.search.Collector; import org.apache.lucene.search.Scorer; @@ -43,7 +42,6 @@ public class NoopCollector extends Collector { @Override public void setNextReader(AtomicReaderContext context) throws IOException { - throw new UnsupportedOperationException(); } @Override