This is an automated email from the ASF dual-hosted git repository. paulk pushed a commit to branch GROOVY_2_5_X in repository https://gitbox.apache.org/repos/asf/groovy.git
commit 2cb0f1380c3e28cc8d73171e35f51ddd54f99bec Author: Paul King <pa...@asert.com.au> AuthorDate: Wed Aug 2 13:15:58 2023 +1000 fix param name --- src/main/java/org/codehaus/groovy/ast/ClassNode.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/codehaus/groovy/ast/ClassNode.java b/src/main/java/org/codehaus/groovy/ast/ClassNode.java index 20c33a3ee1..959bd04662 100644 --- a/src/main/java/org/codehaus/groovy/ast/ClassNode.java +++ b/src/main/java/org/codehaus/groovy/ast/ClassNode.java @@ -203,7 +203,7 @@ public class ClassNode extends AnnotatedNode implements Opcodes { /** * Sets this instance as proxy for the given {@code ClassNode}. * - * @param node the class to redirect to; if {@code null} the redirect is removed + * @param cn the class to redirect to; if {@code null} the redirect is removed */ public void setRedirect(ClassNode cn) { if (isPrimaryNode) throw new GroovyBugError("tried to set a redirect for a primary ClassNode (" + getName() + "->" + cn.getName() + ").");