mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
fix NPE
This commit is contained in:
@@ -442,7 +442,7 @@ public class FindInProjectUtil {
|
||||
|
||||
@Nullable
|
||||
private static GlobalSearchScope toGlobal(Project project, @Nullable SearchScope scope) {
|
||||
if (scope instanceof GlobalSearchScope) {
|
||||
if (scope instanceof GlobalSearchScope || scope == null) {
|
||||
return (GlobalSearchScope)scope;
|
||||
}
|
||||
Set<VirtualFile> files = new HashSet<VirtualFile>();
|
||||
|
||||
Reference in New Issue
Block a user