Repository: groovy
Updated Branches:
  refs/heads/GROOVY_2_5_X 686ade4b3 -> 541b3df5e


Trivial refactoring: make `DEFAULT_BUFFER_SIZE` final

(cherry picked from commit e07eaead67a58e55e1a4e2dc8674e20823e5a3e1)


Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/541b3df5
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/541b3df5
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/541b3df5

Branch: refs/heads/GROOVY_2_5_X
Commit: 541b3df5e06e3831015edfc515c699c0ce9148ae
Parents: 686ade4
Author: Daniel Sun <sun...@apache.org>
Authored: Tue Nov 20 21:30:31 2018 +0800
Committer: Daniel Sun <sun...@apache.org>
Committed: Tue Nov 20 21:34:29 2018 +0800

----------------------------------------------------------------------
 src/main/java/org/codehaus/groovy/runtime/IOGroovyMethods.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/541b3df5/src/main/java/org/codehaus/groovy/runtime/IOGroovyMethods.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/codehaus/groovy/runtime/IOGroovyMethods.java 
b/src/main/java/org/codehaus/groovy/runtime/IOGroovyMethods.java
index c4e54e3..2ac7385 100644
--- a/src/main/java/org/codehaus/groovy/runtime/IOGroovyMethods.java
+++ b/src/main/java/org/codehaus/groovy/runtime/IOGroovyMethods.java
@@ -1698,5 +1698,5 @@ public class IOGroovyMethods extends 
DefaultGroovyMethodsSupport {
         }
     }
 
-    private static int DEFAULT_BUFFER_SIZE = 8192; // 8k
+    private static final int DEFAULT_BUFFER_SIZE = 8192; // 8k
 }

Reply via email to