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

commit 33d9d64d99d25216f0c029113a299b0b9fdd8189
Author: Kenyon Ralph <quic_kra...@quicinc.com>
AuthorDate: Wed Jun 1 16:37:06 2022 -0700

    fix spelling of "explicitly"
---
 .../java/org/codehaus/groovy/transform/NewifyASTTransformation.java   | 2 +-
 src/spec/doc/core-syntax.adoc                                         | 4 ++--
 src/test/gls/syntax/Gep3OrderDslTest.groovy                           | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/src/main/java/org/codehaus/groovy/transform/NewifyASTTransformation.java 
b/src/main/java/org/codehaus/groovy/transform/NewifyASTTransformation.java
index 3fe4d75cd2..416c6fe7e3 100644
--- a/src/main/java/org/codehaus/groovy/transform/NewifyASTTransformation.java
+++ b/src/main/java/org/codehaus/groovy/transform/NewifyASTTransformation.java
@@ -401,7 +401,7 @@ public class NewifyASTTransformation extends 
ClassCodeExpressionTransformer impl
             Expression argsToUse = argsExp;
             if (classType.getOuterClass() != null && 
((classType.getModifiers() & org.objectweb.asm.Opcodes.ACC_STATIC) == 0)) {
                 if (!(argsExp instanceof ArgumentListExpression)) {
-                    addError("Non-static inner constructor arguments must be 
an argument list expression; pass 'this' pointer explicitely as first 
constructor argument otherwise.", mce);
+                    addError("Non-static inner constructor arguments must be 
an argument list expression; pass 'this' pointer explicitly as first 
constructor argument otherwise.", mce);
                     return mce;
                 }
                 final ArgumentListExpression argsListExp = 
(ArgumentListExpression) argsExp;
diff --git a/src/spec/doc/core-syntax.adoc b/src/spec/doc/core-syntax.adoc
index 556d47ca21..97a6b8f5f9 100644
--- a/src/spec/doc/core-syntax.adoc
+++ b/src/spec/doc/core-syntax.adoc
@@ -1069,8 +1069,8 @@ 
include::{projectdir}/src/spec/test/SyntaxTest.groovy[tags=multi_dim_list,indent
 
 == Arrays
 
-Groovy reuses the list notation for arrays, but to make such literals arrays, 
-you need to explicitely define the type of the array through coercion or type 
declaration.
+Groovy reuses the list notation for arrays, but to make such literals arrays,
+you need to explicitly define the type of the array through coercion or type 
declaration.
 
 [source,groovy]
 ----
diff --git a/src/test/gls/syntax/Gep3OrderDslTest.groovy 
b/src/test/gls/syntax/Gep3OrderDslTest.groovy
index 8e5948fe2d..4aa69f9c74 100644
--- a/src/test/gls/syntax/Gep3OrderDslTest.groovy
+++ b/src/test/gls/syntax/Gep3OrderDslTest.groovy
@@ -151,7 +151,7 @@ class Order {
     /** Valuation closure: "of { qty, unitPrice -> ... }" */
     def of(Closure valueCalculation) {
         // in order to be able to define closures like { qty * unitPrice }
-        // without having to explicitely pass the parameters to the closure
+        // without having to explicitly pass the parameters to the closure
         // we can wrap the closure inside another one
         // and that closure sets a delegate to the qty and unitPrice variables
         def wrapped = { qty, unitPrice ->

Reply via email to