mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
make it public: protected in the same package is not accessible from another class loader: EA-24373 - IAE: JUnit4Framework.findOrCreateSetUpMethod
This commit is contained in:
@@ -211,7 +211,7 @@ public class JUnitUtil {
|
||||
}
|
||||
|
||||
@Nullable
|
||||
protected static PsiMethod findFirstTestMethod(PsiClass clazz) {
|
||||
public static PsiMethod findFirstTestMethod(PsiClass clazz) {
|
||||
PsiMethod testMethod = null;
|
||||
for (PsiMethod method : clazz.getMethods()) {
|
||||
if (isTestMethod(MethodLocation.elementInClass(method, clazz)) || isSuiteMethod(method)) {
|
||||
|
||||
Reference in New Issue
Block a user