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");