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/11 22:54:11 UTC

[groovy] branch master updated: copy swap DGM for primitive arrays plus improved coverage for count plus remove some checkstyle warnings (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 f67007888b copy swap DGM for primitive arrays plus improved coverage for count plus remove some checkstyle warnings (fix typo)
f67007888b is described below

commit f67007888bf57845dfc92eafbb6a85780636cf86
Author: Paul King <pa...@asert.com.au>
AuthorDate: Thu Jan 12 08:54:03 2023 +1000

    copy swap DGM for primitive arrays plus improved coverage for count plus remove some checkstyle warnings (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 d2f3f17905..9147f3248d 100644
--- a/src/main/java/org/codehaus/groovy/runtime/ArrayGroovyMethods.java
+++ b/src/main/java/org/codehaus/groovy/runtime/ArrayGroovyMethods.java
@@ -925,7 +925,7 @@ public class ArrayGroovyMethods {
      * Comparison is done using Groovy's == operator (using
      * <code>compareTo(value) == 0</code>).
      * <pre class="groovyTestCase">
-     * long[] array = [10L, 20L, 20L 30L]
+     * long[] array = [10L, 20L, 20L, 30L]
      * assert array.count(20L) == 2
      * </pre>
      *