Apache Lucene open-source search software
LUCENE-8170: Remove empty class file (Clover output)
Uwe Schindlerc0f8e6075d4c
diff --git a/lucene/benchmark/src/test/conf/ConfLoader.java b/lucene/benchmark/src/test/conf/ConfLoader.javadeleted file mode 100644index 97c02ac5a59..00000000000--- a/lucene/benchmark/src/test/conf/ConfLoader.java+++ /dev/null@@ -1,21 +0,0 @@-/*- * Licensed to the Apache Software Foundation (ASF) under one or more- * contributor license agreements. See the NOTICE file distributed with- * this work for additional information regarding copyright ownership.- * The ASF licenses this file to You under the Apache License, Version 2.0- * (the "License"); you may not use this file except in compliance with- * the License. You may obtain a copy of the License at- *- * http://www.apache.org/licenses/LICENSE-2.0- *- * Unless required by applicable law or agreed to in writing, software- * distributed under the License is distributed on an "AS IS" BASIS,- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.- * See the License for the specific language governing permissions and- * limitations under the License.- */-package conf;--public class ConfLoader {- // don't mind me, I load .alg files-}diff --git a/lucene/benchmark/src/test/org/apache/lucene/benchmark/byTask/TestPerfTasksParse.java b/lucene/benchmark/src/test/org/apache/lucene/benchmark/byTask/TestPerfTasksParse.javaindex 90158dae68f..04e15cab760 100644--- a/lucene/benchmark/src/test/org/apache/lucene/benchmark/byTask/TestPerfTasksParse.java+++ b/lucene/benchmark/src/test/org/apache/lucene/benchmark/byTask/TestPerfTasksParse.java@@ -38,8 +38,6 @@ import org.apache.lucene.store.RAMDirectory;import org.apache.lucene.util.LuceneTestCase;import org.apache.lucene.util.LuceneTestCase.SuppressSysoutChecks;-import conf.ConfLoader;-/** Test very simply that perf tasks are parses as expected. */@SuppressSysoutChecks(bugUrl = "very noisy")public class TestPerfTasksParse extends LuceneTestCase {@@ -114,7 +112,7 @@ public class TestPerfTasksParse extends LuceneTestCase {public void testParseExamples() throws Exception {// hackedy-hack-hackboolean foundFiles = false;- final Path examplesDir = Paths.get(ConfLoader.class.getResource(".").toURI());+ final Path examplesDir = Paths.get(getClass().getResource("/conf").toURI());try (DirectoryStream<Path> stream = Files.newDirectoryStream(examplesDir, "*.alg")) {for (Path path : stream) {Config config = new Config(Files.newBufferedReader(path, StandardCharsets.UTF_8));