mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
javac ast indices: change condition ordering for a vfs event processing. move faster condition first (IDEA-172399)
This commit is contained in:
@@ -282,7 +282,7 @@ public class DirtyScopeHolder extends UserDataHolderBase {
|
||||
}
|
||||
|
||||
private Module getModuleForSourceContentFile(@NotNull VirtualFile file) {
|
||||
if (myService.getFileIndex().isInSourceContent(file) && myService.getFileTypes().contains(file.getFileType())) {
|
||||
if (myService.getFileTypes().contains(file.getFileType()) && myService.getFileIndex().isInSourceContent(file)) {
|
||||
return myService.getFileIndex().getModuleForFile(file);
|
||||
}
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user