fix javadoc
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 @@
* 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) {