You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2025/06/12 16:11:32 UTC
(commons-io) 03/04: Use final
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-io.git
commit 72f5b7ef174961f2f626baf4553a43e305ff1ab6
Author: Gary D. Gregory <ga...@gmail.com>
AuthorDate: Thu Jun 12 12:08:18 2025 -0400
Use final
---
src/test/java/org/apache/commons/io/input/QueueInputStreamTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/test/java/org/apache/commons/io/input/QueueInputStreamTest.java b/src/test/java/org/apache/commons/io/input/QueueInputStreamTest.java
index 987259d89..c73e2a9dc 100644
--- a/src/test/java/org/apache/commons/io/input/QueueInputStreamTest.java
+++ b/src/test/java/org/apache/commons/io/input/QueueInputStreamTest.java
@@ -175,7 +175,7 @@ void testReadLineByLineFile(final String inputData) throws IOException {
private void doTestReadLineByLine(final String inputData, final InputStream inputStream, final OutputStream outputStream) throws IOException {
final String[] lines = inputData.split("\n");
try (BufferedReader reader = new BufferedReader(new InputStreamReader(inputStream, UTF_8))) {
- for (String line : lines) {
+ for (final String line : lines) {
outputStream.write(line.getBytes(UTF_8));
outputStream.write('\n');