diff --git a/lucene/spatial/src/test/org/apache/lucene/spatial/prefix/RandomSpatialOpFuzzyPrefixTreeTest.java b/lucene/spatial/src/test/org/apache/lucene/spatial/prefix/RandomSpatialOpFuzzyPrefixTreeTest.java index 37b24574dc6..e3025544b7b 100644 --- a/lucene/spatial/src/test/org/apache/lucene/spatial/prefix/RandomSpatialOpFuzzyPrefixTreeTest.java +++ b/lucene/spatial/src/test/org/apache/lucene/spatial/prefix/RandomSpatialOpFuzzyPrefixTreeTest.java @@ -39,8 +39,6 @@ import org.apache.lucene.spatial.prefix.tree.QuadPrefixTree; import org.apache.lucene.spatial.prefix.tree.SpatialPrefixTree; import org.apache.lucene.spatial.query.SpatialArgs; import org.apache.lucene.spatial.query.SpatialOperation; -import org.apache.lucene.uninverting.UninvertingReader; -import org.junit.Before; import org.junit.Test; import java.io.IOException; @@ -72,14 +70,6 @@ public class RandomSpatialOpFuzzyPrefixTreeTest extends StrategyTestCase { private SpatialPrefixTree grid; private SpatialContext ctx2D; - @Before - @Override - public void setUp() throws Exception { - super.setUp(); - //Only for Disjoint. Ugh; need to find a better way. LUCENE-5692 - uninvertMap.put(getClass().getSimpleName(), UninvertingReader.Type.SORTED); - } - public void setupGrid(int maxLevels) throws IOException { if (randomBoolean()) setupQuadGrid(maxLevels);