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 2023/11/13 00:49:11 UTC

(groovy) branch master updated: typo

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 8b18f4d17c typo
8b18f4d17c is described below

commit 8b18f4d17cf0f7e0b42ad7375c08c2b9a1de58a2
Author: paulk-asert <pa...@asert.com.au>
AuthorDate: Mon Nov 13 10:48:25 2023 +1000

    typo
---
 src/main/java/groovy/lang/MetaClassImpl.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/groovy/lang/MetaClassImpl.java b/src/main/java/groovy/lang/MetaClassImpl.java
index 1c2acff035..bdb4141484 100644
--- a/src/main/java/groovy/lang/MetaClassImpl.java
+++ b/src/main/java/groovy/lang/MetaClassImpl.java
@@ -3478,7 +3478,7 @@ public class MetaClassImpl implements MetaClass, MutableMetaClass {
             if (site.getName().equals(CALL_METHOD) && GeneratedClosure.class.isAssignableFrom(theClass)) {
                 // here, we want to point to a method named "doCall" instead of "call"
                 // but we don't want to replace the original call site name, otherwise
-                // we loose the fact that the original method name was "call" so instead
+                // we lose the fact that the original method name was "call" so instead
                 // we will point to a metamethod called "doCall"
                 // see GROOVY-5806 for details
                 tempSite = new AbstractCallSite(site.getArray(), site.getIndex(), DO_CALL_METHOD);