groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sun...@apache.org
Subject groovy git commit: Minor refactoring
Date Sat, 26 Aug 2017 07:30:37 GMT
Repository: groovy
Updated Branches:
  refs/heads/GROOVY_2_4_X 3ea74e979 -> df0dfbf68


Minor refactoring

(cherry picked from commit 0123a52)


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

Branch: refs/heads/GROOVY_2_4_X
Commit: df0dfbf68d4be552f0be00def10208063b2e0c86
Parents: 3ea74e9
Author: sunlan <sunlan@apache.org>
Authored: Sat Aug 26 15:28:02 2017 +0800
Committer: sunlan <sunlan@apache.org>
Committed: Sat Aug 26 15:30:32 2017 +0800

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


http://git-wip-us.apache.org/repos/asf/groovy/blob/df0dfbf6/src/main/org/codehaus/groovy/control/CompilerConfiguration.java
----------------------------------------------------------------------
diff --git a/src/main/org/codehaus/groovy/control/CompilerConfiguration.java b/src/main/org/codehaus/groovy/control/CompilerConfiguration.java
index 8c567ef..38fcc4c 100644
--- a/src/main/org/codehaus/groovy/control/CompilerConfiguration.java
+++ b/src/main/org/codehaus/groovy/control/CompilerConfiguration.java
@@ -62,7 +62,7 @@ public class CompilerConfiguration {
     private static final String[] ALLOWED_JDKS = { JDK4, JDK5, JDK6, JDK7, JDK8 };
 
     // Just call getVMVersion() once.
-    public static final String currentJVMVersion = getVMVersion();
+    public static final String CURRENT_JVM_VERSION = getVMVersion();
 
     // Static initializers are executed in text order,
     // therefore we must do this one last!


Mime
View raw message