This is an automated email from the ASF dual-hosted git repository.

sunlan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git


The following commit(s) were added to refs/heads/master by this push:
     new 3d00249  Fix typo in comment
3d00249 is described below

commit 3d0024930e9d1a8642ac7321a58f8eb0763e9dd0
Author: Daniel Sun <sun...@apache.org>
AuthorDate: Sun Jan 27 01:50:40 2019 +0800

    Fix typo in comment
---
 src/main/java/org/codehaus/groovy/control/ResolveVisitor.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/codehaus/groovy/control/ResolveVisitor.java 
b/src/main/java/org/codehaus/groovy/control/ResolveVisitor.java
index ff3f55f..02ca741 100644
--- a/src/main/java/org/codehaus/groovy/control/ResolveVisitor.java
+++ b/src/main/java/org/codehaus/groovy/control/ResolveVisitor.java
@@ -384,7 +384,7 @@ public class ResolveVisitor extends 
ClassCodeExpressionTransformer {
             ConstructedOuterNestedClassNode constructedOuterNestedClassNode = 
tryToConstructOuterNestedClassNodeViaStaticImport(compileUnit, importNode, 
typeName);
             if (null != constructedOuterNestedClassNode) {
                 
compileUnit.addClassNodeToResolve(constructedOuterNestedClassNode);
-                toResolveFurther = true; // do not return here and try all 
static star imports because currently we do not know which outer class the 
class to resolve is declared in
+                toResolveFurther = true; // do not return here to try all 
static star imports because currently we do not know which outer class the 
class to resolve is declared in.
             }
         }
 

Reply via email to