* Inline var (#769)

* Simplify conditions
* Make final variable
This commit is contained in:
Arturo Bernal 2022-05-04 16:51:41 +02:00 committed by GitHub
parent 4ef1e3db99
commit d5ff609743
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1008,7 +1008,7 @@ public class MethodUtils {
final Class<?> acls;
if (interfaceIndex >= allInterfaces.size()) {
acls = allSuperclasses.get(superClassIndex++);
} else if ((superClassIndex >= allSuperclasses.size()) || (interfaceIndex < superClassIndex) || !(superClassIndex < interfaceIndex)) {
} else if ((superClassIndex >= allSuperclasses.size()) || !(superClassIndex < interfaceIndex)) {
acls = allInterfaces.get(interfaceIndex++);
} else {
acls = allSuperclasses.get(superClassIndex++);