Polishing

This commit is contained in:
Sam Brannen
2023-09-13 17:04:39 +02:00
parent a271d5ec15
commit fe7355d5b0

View File

@@ -45,7 +45,7 @@ final class AttributeMethods {
if (m1 != null && m2 != null) {
return m1.getName().compareTo(m2.getName());
}
return m1 != null ? -1 : 1;
return (m1 != null ? -1 : 1);
};
@@ -147,7 +147,7 @@ final class AttributeMethods {
@Nullable
Method get(String name) {
int index = indexOf(name);
return index != -1 ? this.attributeMethods[index] : null;
return (index != -1 ? this.attributeMethods[index] : null);
}
/**