mirror of https://github.com/apache/lucene.git
Fixing build failure for distro test
This commit is contained in:
parent
b833e731dc
commit
db1ed1d067
|
@ -59,7 +59,8 @@ public class DocIdEncodingBenchmark {
|
|||
try (Scanner fileReader =
|
||||
new Scanner(
|
||||
Objects.requireNonNull(
|
||||
DocIdEncodingBenchmark.class.getResourceAsStream("/docIds_bpv21.txt")),
|
||||
DocIdEncodingBenchmark.class.getResourceAsStream(
|
||||
"/org.apache.lucene.benchmark.jmh/docIds_bpv21.txt")),
|
||||
Charset.defaultCharset())) {
|
||||
while (fileReader.hasNextLine()) {
|
||||
String sequence = fileReader.nextLine().trim();
|
||||
|
|
Loading…
Reference in New Issue