You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by us...@apache.org on 2022/12/25 13:55:42 UTC
[lucene] branch main updated: Make childLog final to fix compilation on Java 20. This closes #12041
This is an automated email from the ASF dual-hosted git repository.
uschindler pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/lucene.git
The following commit(s) were added to refs/heads/main by this push:
new 92f08aff9f7 Make childLog final to fix compilation on Java 20. This closes #12041
92f08aff9f7 is described below
commit 92f08aff9f7a417cbc26ece2a83668571713c8e4
Author: Uwe Schindler <us...@apache.org>
AuthorDate: Sun Dec 25 14:55:33 2022 +0100
Make childLog final to fix compilation on Java 20. This closes #12041
---
.../test/org/apache/lucene/replicator/nrt/TestStressNRTReplication.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lucene/replicator/src/test/org/apache/lucene/replicator/nrt/TestStressNRTReplication.java b/lucene/replicator/src/test/org/apache/lucene/replicator/nrt/TestStressNRTReplication.java
index def80b121b6..c2e6c5d89fc 100644
--- a/lucene/replicator/src/test/org/apache/lucene/replicator/nrt/TestStressNRTReplication.java
+++ b/lucene/replicator/src/test/org/apache/lucene/replicator/nrt/TestStressNRTReplication.java
@@ -612,7 +612,7 @@ public class TestStressNRTReplication extends LuceneTestCase {
cmd.add("org.junit.runner.JUnitCore");
cmd.add(TestSimpleServer.class.getName());
- Writer childLog;
+ final Writer childLog;
if (SEPARATE_CHILD_OUTPUT) {
Path childOut = childTempDir.resolve(id + ".log");