mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
maven: remove dependency on ReflectionUtil (IDEA-175595)
Use equivalent method from ReflectionUtilRt instead.
This commit is contained in:
+2
-2
@@ -15,7 +15,7 @@
|
||||
*/
|
||||
package org.jetbrains.idea.maven.server;
|
||||
|
||||
import com.intellij.util.ReflectionUtil;
|
||||
import com.intellij.util.ReflectionUtilRt;
|
||||
|
||||
import java.rmi.RemoteException;
|
||||
import java.util.Collections;
|
||||
@@ -63,6 +63,6 @@ public class MavenLeakDetector {
|
||||
// we can ignore this one
|
||||
return Collections.emptyMap();
|
||||
}
|
||||
return ReflectionUtil.getStaticFieldValue(clazz, Map.class, "hooks");
|
||||
return ReflectionUtilRt.getField(clazz, null, Map.class, "hooks");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user