Polishing
This commit is contained in:
parent
50ac8ad8b7
commit
279777b2f3
|
@ -475,7 +475,7 @@ final class AnnotationTypeMapping {
|
|||
|
||||
/**
|
||||
* Get the mirror sets for this type mapping.
|
||||
* @return the mirrorSets the attribute mirror sets.
|
||||
* @return the attribute mirror sets
|
||||
*/
|
||||
MirrorSets getMirrorSets() {
|
||||
return this.mirrorSets;
|
||||
|
@ -648,8 +648,7 @@ final class AnnotationTypeMapping {
|
|||
if (isDefaultValue || ObjectUtils.nullSafeEquals(lastValue, value)) {
|
||||
continue;
|
||||
}
|
||||
if (lastValue != null &&
|
||||
!ObjectUtils.nullSafeEquals(lastValue, value)) {
|
||||
if (lastValue != null && !ObjectUtils.nullSafeEquals(lastValue, value)) {
|
||||
String on = (source != null) ? " declared on " + source : "";
|
||||
throw new AnnotationConfigurationException(String.format(
|
||||
"Different @AliasFor mirror values for annotation [%s]%s; attribute '%s' " +
|
||||
|
|
Loading…
Reference in New Issue