added missin return to Util.invokeMethodIfExists

This commit is contained in:
Lorenzo Pichilli 2022-10-04 12:21:50 +02:00
parent 33da8545f3
commit 9a3ae09fb4
1 changed files with 1 additions and 1 deletions

View File

@ -328,7 +328,7 @@ public class Util {
for (Method method : methods) {
if (method.getName().equals(methodName)) {
try {
method.invoke(o, args);
return method.invoke(o, args);
} catch (IllegalAccessException e) {
return null;
} catch (InvocationTargetException e) {