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 2021/02/25 10:01:18 UTC
[groovy] branch GROOVY_3_0_X updated: Fix typo in 'max' docstring
(closes #1499)
This is an automated email from the ASF dual-hosted git repository.
paulk pushed a commit to branch GROOVY_3_0_X
in repository https://gitbox.apache.org/repos/asf/groovy.git
The following commit(s) were added to refs/heads/GROOVY_3_0_X by this push:
new b4c9980 Fix typo in 'max' docstring (closes #1499)
b4c9980 is described below
commit b4c9980d8752873ad13d7550f61ec65aa48ccbf6
Author: Troels Beck Krøgh <Vi...@users.noreply.github.com>
AuthorDate: Wed Feb 24 12:28:48 2021 +0100
Fix typo in 'max' docstring (closes #1499)
---
src/main/java/groovy/util/GroovyCollections.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/groovy/util/GroovyCollections.java b/src/main/java/groovy/util/GroovyCollections.java
index c445bb8..87e8653 100644
--- a/src/main/java/groovy/util/GroovyCollections.java
+++ b/src/main/java/groovy/util/GroovyCollections.java
@@ -217,7 +217,7 @@ public class GroovyCollections {
/**
* Selects the maximum value found in an array of items, so
- * min([2, 4, 6] as Object[]) == 6.
+ * max([2, 4, 6] as Object[]) == 6.
*
* @param items an array of items
* @return the maximum value