commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1811617 - /commons/proper/codec/trunk/src/test/java/org/apache/commons/codec/digest/PureJavaCrc32Test.java
Date Mon, 09 Oct 2017 22:03:37 GMT
Author: ggregory
Date: Mon Oct  9 22:03:36 2017
New Revision: 1811617

URL: http://svn.apache.org/viewvc?rev=1811617&view=rev
Log:
Use final.

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

Modified: commons/proper/codec/trunk/src/test/java/org/apache/commons/codec/digest/PureJavaCrc32Test.java
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/test/java/org/apache/commons/codec/digest/PureJavaCrc32Test.java?rev=1811617&r1=1811616&r2=1811617&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/test/java/org/apache/commons/codec/digest/PureJavaCrc32Test.java
(original)
+++ commons/proper/codec/trunk/src/test/java/org/apache/commons/codec/digest/PureJavaCrc32Test.java
Mon Oct  9 22:03:36 2017
@@ -69,7 +69,7 @@ public class PureJavaCrc32Test {
     ours.reset();
     checkSame();
 
-    for (byte b : bytes) {
+    for (final byte b : bytes) {
       ours.update(b);
       theirs.update(b);
       checkSame();
@@ -347,10 +347,10 @@ public class PureJavaCrc32Test {
         }
       }
 
-      for (Thread thread : threads) {
+      for (final Thread thread : threads) {
         thread.start();
       }
-      for (Thread thread : threads) {
+      for (final Thread thread : threads) {
         thread.join();
       }
 



Mime
View raw message