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 2019/08/08 15:02:19 UTC
[commons-io] branch master updated: 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
The following commit(s) were added to refs/heads/master by this push:
new 3bb84c2 Use final.
3bb84c2 is described below
commit 3bb84c247fdf5d8cf1e68901f0ea0d47ec37de2d
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Thu Aug 8 11:02:15 2019 -0400
Use final.
---
src/main/java/org/apache/commons/io/output/ProxyWriter.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/main/java/org/apache/commons/io/output/ProxyWriter.java b/src/main/java/org/apache/commons/io/output/ProxyWriter.java
index 79dec7e..6acb942 100644
--- a/src/main/java/org/apache/commons/io/output/ProxyWriter.java
+++ b/src/main/java/org/apache/commons/io/output/ProxyWriter.java
@@ -92,7 +92,7 @@ public class ProxyWriter extends FilterWriter {
@Override
public Writer append(final CharSequence csq) throws IOException {
try {
- int len = IOUtils.length(csq);
+ final int len = IOUtils.length(csq);
beforeWrite(len);
out.append(csq);
afterWrite(len);
@@ -126,7 +126,7 @@ public class ProxyWriter extends FilterWriter {
@Override
public void write(final char[] cbuf) throws IOException {
try {
- int len = IOUtils.length(cbuf);
+ final int len = IOUtils.length(cbuf);
beforeWrite(len);
out.write(cbuf);
afterWrite(len);
@@ -161,7 +161,7 @@ public class ProxyWriter extends FilterWriter {
@Override
public void write(final String str) throws IOException {
try {
- int len = IOUtils.length(str);
+ final int len = IOUtils.length(str);
beforeWrite(len);
out.write(str);
afterWrite(len);