Skip to content

Commit

Permalink
Minor improvement: Correct words
Browse files Browse the repository at this point in the history
  • Loading branch information
rainboyan committed Mar 25, 2023
1 parent 89d53c1 commit 866be99
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
@AstTransformer
public class ControllerActionTransformer implements GrailsArtefactClassInjector, AnnotatedClassInjector, CompilationUnitAware {

public static final AnnotationNode DELEGATING_METHOD_ANNOATION = new AnnotationNode(ClassHelper.make(DelegatingMethod.class));
public static final AnnotationNode DELEGATING_METHOD_ANNOTATION = new AnnotationNode(ClassHelper.make(DelegatingMethod.class));

public static final Pattern CONTROLLER_PATTERN = Pattern.compile(".+/" +
GrailsResourceUtils.GRAILS_APP_DIR + "/controllers/(.+)Controller\\.groovy");
Expand Down Expand Up @@ -365,7 +365,7 @@ private MethodNode convertToMethodAction(ClassNode classNode, MethodNode methodN

GrailsASTUtils.copyAnnotations(methodNode, method);

methodNode.addAnnotation(DELEGATING_METHOD_ANNOATION);
methodNode.addAnnotation(DELEGATING_METHOD_ANNOTATION);
annotateActionMethod(classNode, parameters, method);
wrapMethodBodyWithExceptionHandling(classNode, method);
}
Expand Down

0 comments on commit 866be99

Please sign in to comment.