Merge branch '6.0.x'
This commit is contained in:
@@ -1479,7 +1479,7 @@ public abstract class ClassUtils {
|
||||
Assert.notNull(methodName, "Method name must not be null");
|
||||
try {
|
||||
Method method = clazz.getMethod(methodName, args);
|
||||
return Modifier.isStatic(method.getModifiers()) ? method : null;
|
||||
return (Modifier.isStatic(method.getModifiers()) ? method : null);
|
||||
}
|
||||
catch (NoSuchMethodException ex) {
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user