groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sun...@apache.org
Subject groovy git commit: Make field STANDARD_ESCAPES final
Date Sat, 20 May 2017 16:34:03 GMT
Repository: groovy
Updated Branches:
  refs/heads/master d1a54b677 -> 7ab4a7176


Make field STANDARD_ESCAPES final


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

Branch: refs/heads/master
Commit: 7ab4a7176841f35f919892032d1e3628f1213aa3
Parents: d1a54b6
Author: sunlan <sunlan@apache.org>
Authored: Sun May 21 00:33:48 2017 +0800
Committer: sunlan <sunlan@apache.org>
Committed: Sun May 21 00:33:48 2017 +0800

----------------------------------------------------------------------
 .../java/org/apache/groovy/parser/antlr4/util/StringUtils.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/7ab4a717/subprojects/parser-antlr4/src/main/java/org/apache/groovy/parser/antlr4/util/StringUtils.java
----------------------------------------------------------------------
diff --git a/subprojects/parser-antlr4/src/main/java/org/apache/groovy/parser/antlr4/util/StringUtils.java
b/subprojects/parser-antlr4/src/main/java/org/apache/groovy/parser/antlr4/util/StringUtils.java
index 8903513..58ac588 100644
--- a/subprojects/parser-antlr4/src/main/java/org/apache/groovy/parser/antlr4/util/StringUtils.java
+++ b/subprojects/parser-antlr4/src/main/java/org/apache/groovy/parser/antlr4/util/StringUtils.java
@@ -59,7 +59,7 @@ public class StringUtils {
 	    });
     }
 
-    private static Map<Character, Character> STANDARD_ESCAPES = Maps.of(
+    private static final Map<Character, Character> STANDARD_ESCAPES = Maps.of(
 			'b', '\b',
 			't', '\t',
 			'n', '\n',


Mime
View raw message