You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2023/01/12 11:09:54 UTC

[groovy] branch master updated: improve coverage (fix typo)

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

paulk 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 e205b5b129 improve coverage (fix typo)
e205b5b129 is described below

commit e205b5b1290bb39f4bb4335f767bc0890a45c362
Author: Paul King <pa...@asert.com.au>
AuthorDate: Thu Jan 12 21:09:45 2023 +1000

    improve coverage (fix typo)
---
 src/main/java/org/codehaus/groovy/runtime/ArrayGroovyMethods.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/codehaus/groovy/runtime/ArrayGroovyMethods.java b/src/main/java/org/codehaus/groovy/runtime/ArrayGroovyMethods.java
index bcbc404509..a4bb5c18e6 100644
--- a/src/main/java/org/codehaus/groovy/runtime/ArrayGroovyMethods.java
+++ b/src/main/java/org/codehaus/groovy/runtime/ArrayGroovyMethods.java
@@ -4738,7 +4738,7 @@ public class ArrayGroovyMethods extends DefaultGroovyMethodsSupport {
     /**
      * Returns the string representation of the given array.
      * <pre class="groovyTestCase">
-     * byte[] array = [1, 2, 3, 2, 1]
+     * float[] array = [1, 2, 3, 2, 1]
      * assert array.toString() == '[1.0, 2.0, 3.0, 2.0, 1.0]'
      * </pre>
      *