Skip to content

Commit fe7355d

Browse files
committed
Polishing
1 parent a271d5e commit fe7355d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ final class AttributeMethods {
4545
if (m1 != null && m2 != null) {
4646
return m1.getName().compareTo(m2.getName());
4747
}
48-
return m1 != null ? -1 : 1;
48+
return (m1 != null ? -1 : 1);
4949
};
5050

5151

@@ -147,7 +147,7 @@ private void assertAnnotation(Annotation annotation) {
147147
@Nullable
148148
Method get(String name) {
149149
int index = indexOf(name);
150-
return index != -1 ? this.attributeMethods[index] : null;
150+
return (index != -1 ? this.attributeMethods[index] : null);
151151
}
152152

153153
/**

0 commit comments

Comments
 (0)