This commit is contained in:
Alexey Kudravtsev
2013-01-21 12:24:33 +04:00
parent a932e4c04e
commit 47e9b547a3
@@ -86,7 +86,7 @@ public class ProjectFileIndexImpl implements ProjectFileIndex {
}
@Nullable
public static DirectoryInfo getInfoForFileOrDirectory(@NotNull VirtualFile file, DirectoryIndex directoryIndex) {
static DirectoryInfo getInfoForFileOrDirectory(@NotNull VirtualFile file, DirectoryIndex directoryIndex) {
if (!file.isDirectory() && file.getParent() == null) return null; // e.g. LightVirtualFile in test
DirectoryInfo info = directoryIndex.getInfoForDirectory(file);
if (info != null) {