Apache Lucene open-source search software
LUCENE-7278: Get Clover working again
Steve Rowe3d22ea3492c0
diff --git a/lucene/spatial-extras/src/test/org/apache/lucene/spatial/prefix/tree/DateRangePrefixTreeTest.java b/lucene/spatial-extras/src/test/org/apache/lucene/spatial/prefix/tree/DateRangePrefixTreeTest.javaindex d76454e6ae3..d29a192c6d6 100644--- a/lucene/spatial-extras/src/test/org/apache/lucene/spatial/prefix/tree/DateRangePrefixTreeTest.java+++ b/lucene/spatial-extras/src/test/org/apache/lucene/spatial/prefix/tree/DateRangePrefixTreeTest.java@@ -32,16 +32,17 @@ import org.locationtech.spatial4j.shape.SpatialRelation;public class DateRangePrefixTreeTest extends LuceneTestCase {- @ParametersFactory+ @ParametersFactory(argumentFormatting = "calendar=%s")public static Iterable<Object[]> parameters() {return Arrays.asList(new Object[][]{- {DateRangePrefixTree.DEFAULT_CAL}, {DateRangePrefixTree.JAVA_UTIL_TIME_COMPAT_CAL}+ {"default", DateRangePrefixTree.DEFAULT_CAL},+ {"compat", DateRangePrefixTree.JAVA_UTIL_TIME_COMPAT_CAL}});}private final DateRangePrefixTree tree;- public DateRangePrefixTreeTest(Calendar templateCal) {+ public DateRangePrefixTreeTest(String suiteName, Calendar templateCal) {tree = new DateRangePrefixTree(templateCal);}