diff --git a/platform/core-api/src/com/intellij/openapi/vfs/newvfs/events/VFileMoveEvent.java b/platform/core-api/src/com/intellij/openapi/vfs/newvfs/events/VFileMoveEvent.java index 33e8e5a1eb53..d6ae762d1c9a 100644 --- a/platform/core-api/src/com/intellij/openapi/vfs/newvfs/events/VFileMoveEvent.java +++ b/platform/core-api/src/com/intellij/openapi/vfs/newvfs/events/VFileMoveEvent.java @@ -57,6 +57,12 @@ public class VFileMoveEvent extends VFileEvent { return "VfsEvent[move " + myFile.getName() +" from " + myOldParent + " to " + myNewParent + "]"; } + @NotNull + @Override + public String getPath() { + return computePath(); + } + @NotNull @Override protected String computePath() { diff --git a/platform/core-api/src/com/intellij/openapi/vfs/newvfs/events/VFilePropertyChangeEvent.java b/platform/core-api/src/com/intellij/openapi/vfs/newvfs/events/VFilePropertyChangeEvent.java index 00d8af54ed78..0b3ab8b86e25 100644 --- a/platform/core-api/src/com/intellij/openapi/vfs/newvfs/events/VFilePropertyChangeEvent.java +++ b/platform/core-api/src/com/intellij/openapi/vfs/newvfs/events/VFilePropertyChangeEvent.java @@ -99,6 +99,12 @@ public class VFilePropertyChangeEvent extends VFileEvent { return myPropertyName; } + @NotNull + @Override + public String getPath() { + return computePath(); + } + @NotNull @Override protected String computePath() {