check for file validity (EA-35730)

This commit is contained in:
peter
2012-07-25 16:58:00 +02:00
parent 1a56f4f45d
commit a4aa089f32
@@ -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);