You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by dw...@apache.org on 2021/12/09 08:29:14 UTC
[lucene] branch branch_9_0 updated: Correct code for spotless.
This is an automated email from the ASF dual-hosted git repository.
dweiss pushed a commit to branch branch_9_0
in repository https://gitbox.apache.org/repos/asf/lucene.git
The following commit(s) were added to refs/heads/branch_9_0 by this push:
new e94a177 Correct code for spotless.
e94a177 is described below
commit e94a1777d787988fbc8182c0813cc172e43c51fb
Author: Dawid Weiss <da...@carrotsearch.com>
AuthorDate: Thu Dec 9 09:29:06 2021 +0100
Correct code for spotless.
---
.../org/apache/lucene/backward_index/TestBackwardsCompatibility.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/backward_index/TestBackwardsCompatibility.java b/lucene/backward-codecs/src/test/org/apache/lucene/backward_index/TestBackwardsCompatibility.java
index bb10d1b..7ab525c1 100644
--- a/lucene/backward-codecs/src/test/org/apache/lucene/backward_index/TestBackwardsCompatibility.java
+++ b/lucene/backward-codecs/src/test/org/apache/lucene/backward_index/TestBackwardsCompatibility.java
@@ -2089,7 +2089,8 @@ public class TestBackwardsCompatibility extends LuceneTestCase {
final int createdMajor;
// No exception when opening with the allowed min version
- try (IndexReader reader = StandardDirectoryReader.open(commit, Version.MIN_SUPPORTED_MAJOR, null)) {
+ try (IndexReader reader =
+ StandardDirectoryReader.open(commit, Version.MIN_SUPPORTED_MAJOR, null)) {
createdMajor = reader.leaves().get(0).reader().getMetaData().getCreatedVersionMajor();
}