You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by su...@apache.org on 2017/08/24 16:55:14 UTC
groovy git commit: Refine a comment
Repository: groovy
Updated Branches:
refs/heads/master 7c237bb1a -> 138f8a63e
Refine a comment
Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/138f8a63
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/138f8a63
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/138f8a63
Branch: refs/heads/master
Commit: 138f8a63e50224d2a1f5e8dbb0ae8ae30f46dbef
Parents: 7c237bb
Author: sunlan <su...@apache.org>
Authored: Fri Aug 25 00:55:03 2017 +0800
Committer: sunlan <su...@apache.org>
Committed: Fri Aug 25 00:55:03 2017 +0800
----------------------------------------------------------------------
.../java/org/apache/groovy/parser/antlr4/internal/AtnManager.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/groovy/blob/138f8a63/subprojects/parser-antlr4/src/main/java/org/apache/groovy/parser/antlr4/internal/AtnManager.java
----------------------------------------------------------------------
diff --git a/subprojects/parser-antlr4/src/main/java/org/apache/groovy/parser/antlr4/internal/AtnManager.java b/subprojects/parser-antlr4/src/main/java/org/apache/groovy/parser/antlr4/internal/AtnManager.java
index f215463..a8752bc 100644
--- a/subprojects/parser-antlr4/src/main/java/org/apache/groovy/parser/antlr4/internal/AtnManager.java
+++ b/subprojects/parser-antlr4/src/main/java/org/apache/groovy/parser/antlr4/internal/AtnManager.java
@@ -52,7 +52,7 @@ public class AtnManager {
try {
t = Integer.parseInt(System.getProperty(DFA_CACHE_THRESHOLD_OPT));
- // cache threshold should be at least DEFAULT_CACHE_THRESHOLD for better performance
+ // cache threshold should be at least MIN_DFA_CACHE_THRESHOLD for better performance
t = t < MIN_DFA_CACHE_THRESHOLD ? MIN_DFA_CACHE_THRESHOLD : t;
} catch (Exception e) {
// ignored