Skip to content

Commit

Permalink
Fix typo: localTransformers (#11146)
Browse files Browse the repository at this point in the history
  • Loading branch information
PiyalAhmed authored Sep 4, 2024
1 parent a2fe4ee commit 6e7c71b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -601,13 +601,13 @@ class Test {
@Override
protected List<AnnotationTransformer<Annotation>> 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
Expand Down

0 comments on commit 6e7c71b

Please sign in to comment.