commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1637832 - /commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/DigestUtils.java
Date Mon, 10 Nov 2014 12:54:57 GMT
Author: ggregory
Date: Mon Nov 10 12:54:57 2014
New Revision: 1637832

URL: http://svn.apache.org/r1637832
Log:
Move static var decl.

Modified:
    commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/DigestUtils.java

Modified: commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/DigestUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/DigestUtils.java?rev=1637832&r1=1637831&r2=1637832&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/DigestUtils.java
(original)
+++ commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/DigestUtils.java
Mon Nov 10 12:54:57 2014
@@ -33,8 +33,6 @@ import org.apache.commons.codec.binary.S
  */
 public class DigestUtils {
 
-    private static final int STREAM_BUFFER_LENGTH = 1024;
-
     /**
      * Read through an InputStream and returns the digest for the data
      *
@@ -816,4 +814,6 @@ public class DigestUtils {
         messageDigest.update(StringUtils.getBytesUtf8(valueToDigest));
         return messageDigest;
     }
+
+    private static final int STREAM_BUFFER_LENGTH = 1024;
 }



Mime
View raw message