mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
diagnostics: EA-25461 - assert: FileTreeModelBuilder.getFileParentNode
(cherry picked from commit 62200ef6c4c03dcee7dfcb53e91882cfe53cf7b0)
This commit is contained in:
+1
-1
@@ -220,7 +220,7 @@ public class FileTreeModelBuilder {
|
||||
VirtualFile vFile = file.getVirtualFile();
|
||||
LOG.assertTrue(vFile != null);
|
||||
final VirtualFile containingDirectory = vFile.getParent();
|
||||
LOG.assertTrue(containingDirectory != null, "physical: " + file.isPhysical() + ", " + file.getViewProvider().isPhysical());
|
||||
LOG.assertTrue(containingDirectory != null, "physical: " + file.isPhysical() + ", " + file.getViewProvider().isPhysical() + ", " + file.getClass().getName());
|
||||
return getModuleDirNode(file.getContainingDirectory(), myFileIndex.getModuleForFile(vFile), null);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user