From 2146bc816a93caa0b12c2ec5d8896fe166253490 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Tue, 22 Oct 2019 12:40:38 +0200 Subject: [PATCH] Fix Checkstyle violations See gh-23767 --- .../springframework/core/annotation/TypeMappedAnnotation.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-core/src/main/java/org/springframework/core/annotation/TypeMappedAnnotation.java b/spring-core/src/main/java/org/springframework/core/annotation/TypeMappedAnnotation.java index a47105eaba..b2939c59dc 100644 --- a/spring-core/src/main/java/org/springframework/core/annotation/TypeMappedAnnotation.java +++ b/spring-core/src/main/java/org/springframework/core/annotation/TypeMappedAnnotation.java @@ -441,8 +441,8 @@ final class TypeMappedAnnotation extends AbstractMergedAnn value = this.mapping.getMappedAnnotationValue(attributeIndex, forMirrorResolution); } if (value == null) { - Method attribute = mapping.getAttributes().get(attributeIndex); - value = ReflectionUtils.invokeMethod(attribute, mapping.getAnnotation()); + Method attribute = this.mapping.getAttributes().get(attributeIndex); + value = ReflectionUtils.invokeMethod(attribute, this.mapping.getAnnotation()); } return value; }