mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
check for file validity (EA-35730)
This commit is contained in:
+4
@@ -133,6 +133,10 @@ public class LastUnchangedContentTracker {
|
||||
|
||||
@Nullable
|
||||
private static Integer getSavedContentId(VirtualFile file) {
|
||||
if (!file.isValid()) {
|
||||
return null;
|
||||
}
|
||||
|
||||
Integer oldContentId = null;
|
||||
try {
|
||||
final DataInputStream stream = ACQUIRED_CONTENT_ATTR.readAttribute(file);
|
||||
|
||||
Reference in New Issue
Block a user