InvokerHelper: Refactor: invoke specific methods.

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

Branch: refs/heads/master
Commit: 3b198715c25ceaf4217aad2c549decee5c0fe15b
Parents: 7442318
Author: Thibault Kruse <thibault.kr...@gmx.de>
Authored: Wed Sep 2 00:15:55 2015 +0200
Committer: paulk <pa...@asert.com.au>
Committed: Thu Jul 28 22:39:55 2016 +1000

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


http://git-wip-us.apache.org/repos/asf/groovy/blob/3b198715/src/main/org/codehaus/groovy/runtime/InvokerHelper.java
----------------------------------------------------------------------
diff --git a/src/main/org/codehaus/groovy/runtime/InvokerHelper.java 
b/src/main/org/codehaus/groovy/runtime/InvokerHelper.java
index 2ace3f1..7859934 100644
--- a/src/main/org/codehaus/groovy/runtime/InvokerHelper.java
+++ b/src/main/org/codehaus/groovy/runtime/InvokerHelper.java
@@ -590,7 +590,7 @@ public class InvokerHelper {
             if (arguments instanceof char[]) {
                 return new String((char[]) arguments);
             }
-            return format(DefaultTypeTransformation.asCollection(arguments), 
verbose, maxSize);
+            return 
formatCollection(DefaultTypeTransformation.arrayAsCollection(arguments), 
verbose, maxSize);
         }
         if (arguments instanceof Range) {
             Range range = (Range) arguments;

Reply via email to