mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-94075 Revert change list action suggest to delete null
FilePathImpl#getPresentableUrl(): VirtualFile may be invalid and return null url in that case. Use File.getPath() for this case.
This commit is contained in:
@@ -239,7 +239,7 @@ public class FilePathImpl implements FilePath {
|
||||
|
||||
@Override
|
||||
public String getPresentableUrl() {
|
||||
if (myVirtualFile == null) {
|
||||
if (myVirtualFile == null || !myVirtualFile.isValid()) {
|
||||
return myFile.getAbsolutePath();
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user