mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-19 04:51:24 +07:00
[java-runtime] Warnings fixed
GitOrigin-RevId: 612a078152b45c87a582d0620edde1b9c152c67a
This commit is contained in:
committed by
intellij-monorepo-bot
parent
60b47aeb8f
commit
7c1afca9d1
@@ -11,9 +11,9 @@ public final class DefaultMethodInvoker {
|
||||
public static Object invoke(Object obj, String name)
|
||||
throws NoSuchMethodException, InvocationTargetException, IllegalAccessException {
|
||||
|
||||
Method method = obj.getClass().getMethod(name, null);
|
||||
Method method = obj.getClass().getMethod(name);
|
||||
method.setAccessible(true);
|
||||
Object res = method.invoke(obj, null);
|
||||
Object res = method.invoke(obj);
|
||||
method.setAccessible(false);
|
||||
return res;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user