We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a271d5e commit fe7355dCopy full SHA for fe7355d
spring-core/src/main/java/org/springframework/core/annotation/AttributeMethods.java
@@ -45,7 +45,7 @@ final class AttributeMethods {
45
if (m1 != null && m2 != null) {
46
return m1.getName().compareTo(m2.getName());
47
}
48
- return m1 != null ? -1 : 1;
+ return (m1 != null ? -1 : 1);
49
};
50
51
@@ -147,7 +147,7 @@ private void assertAnnotation(Annotation annotation) {
147
@Nullable
148
Method get(String name) {
149
int index = indexOf(name);
150
- return index != -1 ? this.attributeMethods[index] : null;
+ return (index != -1 ? this.attributeMethods[index] : null);
151
152
153
/**
0 commit comments