commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1811342 - /commons/proper/codec/trunk/src/test/java/org/apache/commons/codec/digest/PureJavaCrc32CTest.java
Date Fri, 06 Oct 2017 15:18:58 GMT
Author: ggregory
Date: Fri Oct  6 15:18:58 2017
New Revision: 1811342

URL: http://svn.apache.org/viewvc?rev=1811342&view=rev
Log:
Add final modifier to private fields

Modified:
    commons/proper/codec/trunk/src/test/java/org/apache/commons/codec/digest/PureJavaCrc32CTest.java

Modified: commons/proper/codec/trunk/src/test/java/org/apache/commons/codec/digest/PureJavaCrc32CTest.java
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/test/java/org/apache/commons/codec/digest/PureJavaCrc32CTest.java?rev=1811342&r1=1811341&r2=1811342&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/test/java/org/apache/commons/codec/digest/PureJavaCrc32CTest.java
(original)
+++ commons/proper/codec/trunk/src/test/java/org/apache/commons/codec/digest/PureJavaCrc32CTest.java
Fri Oct  6 15:18:58 2017
@@ -28,7 +28,7 @@ public class PureJavaCrc32CTest {
 
     private final PureJavaCrc32C crc = new PureJavaCrc32C();
 
-    private byte[] data = new byte[32];
+    private final byte[] data = new byte[32];
 
     @Test
     public void testZeros() {



Mime
View raw message