From 6e7c71bbbeaf36b304c7f322950118381e6c75a2 Mon Sep 17 00:00:00 2001 From: Piyal Ahmed Date: Wed, 4 Sep 2024 15:40:29 +0600 Subject: [PATCH] Fix typo: localTransformers (#11146) --- .../processing/test/AbstractTypeElementSpec.groovy | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/inject-java-test/src/main/groovy/io/micronaut/annotation/processing/test/AbstractTypeElementSpec.groovy b/inject-java-test/src/main/groovy/io/micronaut/annotation/processing/test/AbstractTypeElementSpec.groovy index 227a0ba6783..0d825976416 100644 --- a/inject-java-test/src/main/groovy/io/micronaut/annotation/processing/test/AbstractTypeElementSpec.groovy +++ b/inject-java-test/src/main/groovy/io/micronaut/annotation/processing/test/AbstractTypeElementSpec.groovy @@ -601,13 +601,13 @@ class Test { @Override protected List> getAnnotationTransformers(@NonNull String annotationName) { def loadedTransformers = super.getAnnotationTransformers(annotationName) - def localTransfomers = getLocalAnnotationTransformers(annotationName) - if (localTransfomers) { + def localTransformers = getLocalAnnotationTransformers(annotationName) + if (localTransformers) { def newList = [] if (loadedTransformers) { newList.addAll(loadedTransformers) } - newList.addAll(localTransfomers) + newList.addAll(localTransformers) return newList } else { return loadedTransformers