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 d2d6daa55c chore: remove duplicate words in comment
d2d6daa55c is described below
commit d2d6daa55cbed248250e1c796d00f7db16db4a67
Author: dufucun <[email protected]>
AuthorDate: Wed Apr 16 10:18:13 2025 +0800
chore: remove duplicate words in comment
Signed-off-by: dufucun <[email protected]>
---
src/main/java/org/codehaus/groovy/runtime/DefaultGroovyMethods.java | 2 +-
src/test/groovy/groovy/mock/interceptor/MockCallSequenceTest.groovy | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git
a/src/main/java/org/codehaus/groovy/runtime/DefaultGroovyMethods.java
b/src/main/java/org/codehaus/groovy/runtime/DefaultGroovyMethods.java
index e300371ea3..f92fe5d603 100644
--- a/src/main/java/org/codehaus/groovy/runtime/DefaultGroovyMethods.java
+++ b/src/main/java/org/codehaus/groovy/runtime/DefaultGroovyMethods.java
@@ -6535,7 +6535,7 @@ public class DefaultGroovyMethods extends
DefaultGroovyMethodsSupport {
/**
* Flatten the elements from an Iterator. This iterator and any nested
arrays, collections,
- * iterators, or optionals have their contents (recursively) added to to
the elements for
+ * iterators, or optionals have their contents (recursively) added to the
elements for
* the resulting iterator. A transform is applied to any leaf nodes before
further flattening.
*
* @param self an Iterable
diff --git
a/src/test/groovy/groovy/mock/interceptor/MockCallSequenceTest.groovy
b/src/test/groovy/groovy/mock/interceptor/MockCallSequenceTest.groovy
index f0c03c7886..c3572559c9 100644
--- a/src/test/groovy/groovy/mock/interceptor/MockCallSequenceTest.groovy
+++ b/src/test/groovy/groovy/mock/interceptor/MockCallSequenceTest.groovy
@@ -23,7 +23,7 @@ import junit.framework.AssertionFailedError
/**
* Testing Groovy Mock support for multiple calls to the Collaborator with
- * demanding one or two methods multiple and and various ranges.
+ * demanding one or two methods multiple and various ranges.
*/
class MockCallSequenceTest extends GroovyTestCase {