Author: ggregory Date: Fri Apr 15 23:59:26 2016 New Revision: 1739387 URL: http://svn.apache.org/viewvc?rev=1739387&view=rev Log: Add final to private fields.
Modified: commons/proper/net/trunk/src/test/java/org/apache/commons/net/util/UtilTest.java Modified: commons/proper/net/trunk/src/test/java/org/apache/commons/net/util/UtilTest.java URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/test/java/org/apache/commons/net/util/UtilTest.java?rev=1739387&r1=1739386&r2=1739387&view=diff ============================================================================== --- commons/proper/net/trunk/src/test/java/org/apache/commons/net/util/UtilTest.java (original) +++ commons/proper/net/trunk/src/test/java/org/apache/commons/net/util/UtilTest.java Fri Apr 15 23:59:26 2016 @@ -37,10 +37,10 @@ import org.junit.Test; public class UtilTest { - private Writer dest = new CharArrayWriter(); - private Reader source = new CharArrayReader(new char[]{'a'}); - private InputStream src = new ByteArrayInputStream(new byte[]{'z'}); - private OutputStream dst = new ByteArrayOutputStream(); + private final Writer dest = new CharArrayWriter(); + private final Reader source = new CharArrayReader(new char[]{'a'}); + private final InputStream src = new ByteArrayInputStream(new byte[]{'z'}); + private final OutputStream dst = new ByteArrayOutputStream(); @Test public void testcloseQuietly() {