Skip to content
Permalink
Browse files
* Inline var (#769)
* Simplify conditions
* Make final variable
  • Loading branch information
arturobernalg committed May 4, 2022
1 parent 4ef1e3d commit d5ff609743337d6241537018a10d45078553771d
Showing 1 changed file with 1 addition and 1 deletion.
@@ -1008,7 +1008,7 @@ private static List<Class<?>> getAllSuperclassesAndInterfaces(final Class<?> cls
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++);

0 comments on commit d5ff609

Please sign in to comment.