Skip to content

Commit

Permalink
Polishing
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrannen committed Dec 2, 2019
1 parent 50ac8ad commit 279777b
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ boolean isEquivalentToDefaultValue(int attributeIndex, Object value,

/**
* 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;
Expand Down Expand Up @@ -648,8 +648,7 @@ <A> int resolve(@Nullable Object source, @Nullable A annotation,
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' " +
Expand Down

0 comments on commit 279777b

Please sign in to comment.