Repository: groovy
Updated Branches:
  refs/heads/GROOVY_2_5_X 21662c8b2 -> ca296db62


fix typo in error message


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

Branch: refs/heads/GROOVY_2_5_X
Commit: ca296db62b98437a9da9cd2f0fba08ead9b37eed
Parents: 21662c8
Author: Paul King <pa...@asert.com.au>
Authored: Tue Oct 23 14:44:27 2018 +1000
Committer: Paul King <pa...@asert.com.au>
Committed: Tue Oct 23 14:52:15 2018 +1000

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


http://git-wip-us.apache.org/repos/asf/groovy/blob/ca296db6/src/main/java/org/codehaus/groovy/control/ClassNodeResolver.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/codehaus/groovy/control/ClassNodeResolver.java 
b/src/main/java/org/codehaus/groovy/control/ClassNodeResolver.java
index 3b64333..844d7c6 100644
--- a/src/main/java/org/codehaus/groovy/control/ClassNodeResolver.java
+++ b/src/main/java/org/codehaus/groovy/control/ClassNodeResolver.java
@@ -214,7 +214,7 @@ public class ClassNodeResolver {
             LookupResult lr = tryAsScript(name, compilationUnit, null);
             return lr;
         } catch (CompilationFailedException cfe) {
-            throw new GroovyBugError("The lookup for "+name+" caused a failed 
compilaton. There should not have been any compilation from this call.", cfe);
+            throw new GroovyBugError("The lookup for " + name + " caused a 
failed compilation. There should not have been any compilation from this 
call.", cfe);
         }
         //TODO: the case of a NoClassDefFoundError needs a bit more research
         // a simple recompilation is not possible it seems. The current class

Reply via email to