mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IG: exclude another method from moving when scope to broad
This commit is contained in:
+2
-1
@@ -192,7 +192,8 @@ public class TooBroadScopeInspectionBase extends BaseInspection {
|
||||
return false;
|
||||
}
|
||||
final String methodName = method.getName();
|
||||
return !"now".equals(methodName) && !"currentTimeMillis".equals(methodName) && !"nanoTime".equals(methodName);
|
||||
return !"now".equals(methodName) && !"currentTimeMillis".equals(methodName) &&
|
||||
!"nanoTime".equals(methodName) && !"waitFor".equals(methodName);
|
||||
}
|
||||
|
||||
private static boolean isAllowedType(PsiType type) {
|
||||
|
||||
Reference in New Issue
Block a user