Fix possible NPE

This commit is contained in:
crschnick 2023-07-13 07:04:41 +00:00
parent 286c573ebd
commit 888fa3d92b

View file

@ -100,6 +100,10 @@ public final class OpenFileSystemModel {
return null;
}
if (fileSystem == null) {
return null;
}
return new FileSystem.FileEntry(fileSystem, currentPath.get(), null, false, false, 0, null, FileKind.DIRECTORY);
}