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/02/08 04:12:30 UTC

[06/11] groovy git commit: trivial refactor

trivial refactor


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

Branch: refs/heads/parrot
Commit: 15a8c67aa133ab85a5c11cf0ed0e1f267f1c9d6e
Parents: c219797
Author: paulk <pa...@asert.com.au>
Authored: Wed Feb 1 17:48:50 2017 +1000
Committer: paulk <pa...@asert.com.au>
Committed: Wed Feb 1 17:48:50 2017 +1000

----------------------------------------------------------------------
 .../groovy/classgen/asm/sc/StaticTypesCallSiteWriter.java    | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/15a8c67a/src/main/org/codehaus/groovy/classgen/asm/sc/StaticTypesCallSiteWriter.java
----------------------------------------------------------------------
diff --git a/src/main/org/codehaus/groovy/classgen/asm/sc/StaticTypesCallSiteWriter.java b/src/main/org/codehaus/groovy/classgen/asm/sc/StaticTypesCallSiteWriter.java
index c34be18..fe69531 100644
--- a/src/main/org/codehaus/groovy/classgen/asm/sc/StaticTypesCallSiteWriter.java
+++ b/src/main/org/codehaus/groovy/classgen/asm/sc/StaticTypesCallSiteWriter.java
@@ -636,10 +636,10 @@ public class StaticTypesCallSiteWriter extends CallSiteWriter implements Opcodes
         }
         // todo: more cases
         throw new GroovyBugError(
-                "At line "+receiver.getLineNumber() + " column " + receiver.getColumnNumber() + "\n" +
-                "On receiver: "+receiver.getText() + " with message: "+message+" and arguments: "+arguments.getText()+"\n"+
-                "This method should not have been called. Please try to create a simple example reproducing this error and file" +
-                "a bug report at https://issues.apache.org/jira/browse/GROOVY");
+                "At line " + receiver.getLineNumber() + " column " + receiver.getColumnNumber() + "\n" +
+                "On receiver: " + receiver.getText() + " with message: " + message + " and arguments: " + arguments.getText() + "\n" +
+                "This method should not have been called. Please try to create a simple example reproducing\n" +
+                "this error and file a bug report at https://issues.apache.org/jira/browse/GROOVY");
     }
 
     private boolean trySubscript(final Expression receiver, final String message, final Expression arguments, ClassNode rType, final ClassNode aType) {