mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
unable to refresh during event processing: e.g. move fails
This commit is contained in:
@@ -116,7 +116,7 @@ public class UsageSerializable implements WorkingSetSerializable<UsageInfo, Inva
|
||||
|
||||
final String path = readNext(false);
|
||||
if (path == null) return null;
|
||||
final VirtualFile file = LocalFileSystem.getInstance().refreshAndFindFileByIoFile(new File(path));
|
||||
final VirtualFile file = LocalFileSystem.getInstance().findFileByIoFile(new File(path));
|
||||
if (file == null) return null;
|
||||
PsiFile psiFile = PsiManager.getInstance(project).findFile(file);
|
||||
if (psiFile == null) return null;
|
||||
|
||||
Reference in New Issue
Block a user