mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
SSR: cleanup - flip conditional (IJ-CR-118269)
GitOrigin-RevId: 64cb917a353559ec563fec231b06f2436f5b0557
This commit is contained in:
committed by
intellij-monorepo-bot
parent
cac6f9b848
commit
39afd351c6
@@ -61,7 +61,7 @@ public final class Scopes {
|
||||
case PROJECT -> GlobalSearchScope.projectScope(project);
|
||||
case MODULE -> {
|
||||
final Module module = ModuleManager.getInstance(project).findModuleByName(descriptor);
|
||||
yield (module != null) ? GlobalSearchScope.moduleScope(module) : null;
|
||||
yield (module == null) ? null : GlobalSearchScope.moduleScope(module);
|
||||
}
|
||||
case DIRECTORY -> {
|
||||
final boolean recursive = StringUtil.startsWithChar(descriptor, '*');
|
||||
|
||||
Reference in New Issue
Block a user