Skip to content

Commit 279777b

Browse files
committed
Polishing
1 parent 50ac8ad commit 279777b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

spring-core/src/main/java/org/springframework/core/annotation/AnnotationTypeMapping.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ boolean isEquivalentToDefaultValue(int attributeIndex, Object value,
475475

476476
/**
477477
* Get the mirror sets for this type mapping.
478-
* @return the mirrorSets the attribute mirror sets.
478+
* @return the attribute mirror sets
479479
*/
480480
MirrorSets getMirrorSets() {
481481
return this.mirrorSets;
@@ -648,8 +648,7 @@ <A> int resolve(@Nullable Object source, @Nullable A annotation,
648648
if (isDefaultValue || ObjectUtils.nullSafeEquals(lastValue, value)) {
649649
continue;
650650
}
651-
if (lastValue != null &&
652-
!ObjectUtils.nullSafeEquals(lastValue, value)) {
651+
if (lastValue != null && !ObjectUtils.nullSafeEquals(lastValue, value)) {
653652
String on = (source != null) ? " declared on " + source : "";
654653
throw new AnnotationConfigurationException(String.format(
655654
"Different @AliasFor mirror values for annotation [%s]%s; attribute '%s' " +

0 commit comments

Comments
 (0)