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 2016/08/03 10:48:37 UTC
groovy git commit: fix javadoc
Repository: groovy
Updated Branches:
refs/heads/master 3d7e2cae3 -> b48100171
fix javadoc
Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/b4810017
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/b4810017
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/b4810017
Branch: refs/heads/master
Commit: b481001715fdf9ba7ae1da972c0adb4b6c46ceeb
Parents: 3d7e2ca
Author: paulk <pa...@asert.com.au>
Authored: Wed Aug 3 20:48:26 2016 +1000
Committer: paulk <pa...@asert.com.au>
Committed: Wed Aug 3 20:48:26 2016 +1000
----------------------------------------------------------------------
src/main/org/codehaus/groovy/runtime/DefaultGroovyMethods.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/groovy/blob/b4810017/src/main/org/codehaus/groovy/runtime/DefaultGroovyMethods.java
----------------------------------------------------------------------
diff --git a/src/main/org/codehaus/groovy/runtime/DefaultGroovyMethods.java b/src/main/org/codehaus/groovy/runtime/DefaultGroovyMethods.java
index 130898b..839c7e8 100644
--- a/src/main/org/codehaus/groovy/runtime/DefaultGroovyMethods.java
+++ b/src/main/org/codehaus/groovy/runtime/DefaultGroovyMethods.java
@@ -1936,9 +1936,9 @@ public class DefaultGroovyMethods extends DefaultGroovyMethodsSupport {
* passing each item and the item's index (a counter starting at
* zero) to the given closure.
*
- * @param self an Iterable
+ * @param self an Iterator
* @param closure a Closure to operate on each item
- * @return the self Iterable
+ * @return the self Iterator (now exhausted)
* @since 2.3.0
*/
public static <T> Iterator<T> eachWithIndex(Iterator<T> self, @ClosureParams(value=FromString.class, options="T,java.lang.Integer") Closure closure) {