Drop useless parens.
This commit is contained in:
parent
d5c7094bdd
commit
adacce00cd
|
@ -926,8 +926,7 @@ public class MethodUtils {
|
||||||
|
|
||||||
Validate.notNull(cls, "cls");
|
Validate.notNull(cls, "cls");
|
||||||
Validate.notNull(annotationCls, "annotationCls");
|
Validate.notNull(annotationCls, "annotationCls");
|
||||||
final List<Class<?>> classes = (searchSupers ? getAllSuperclassesAndInterfaces(cls)
|
final List<Class<?>> classes = searchSupers ? getAllSuperclassesAndInterfaces(cls) : new ArrayList<>();
|
||||||
: new ArrayList<>());
|
|
||||||
classes.add(0, cls);
|
classes.add(0, cls);
|
||||||
final List<Method> annotatedMethods = new ArrayList<>();
|
final List<Method> annotatedMethods = new ArrayList<>();
|
||||||
for (final Class<?> acls : classes) {
|
for (final Class<?> acls : classes) {
|
||||||
|
|
Loading…
Reference in New Issue