mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-80379 Perforce: UOE at com.intellij.openapi.vcs.rollback.DefaultRollbackEnvironment.rollbackModifiedWithoutCheckout
This commit is contained in:
@@ -223,7 +223,7 @@ public abstract class VcsVFSListener implements Disposable {
|
||||
getSingleFileDeletePromptTemplate(), myRemoveOption);
|
||||
}
|
||||
|
||||
protected void beforeContentsChange(VirtualFile file) {
|
||||
protected void beforeContentsChange(VirtualFileEvent event, VirtualFile file) {
|
||||
}
|
||||
|
||||
private void addFileToMove(final VirtualFile file, final String newParentPath, final String newName) {
|
||||
@@ -378,10 +378,8 @@ public abstract class VcsVFSListener implements Disposable {
|
||||
|
||||
@Override
|
||||
public void beforeContentsChange(VirtualFileEvent event) {
|
||||
if (!isEventIgnored(event, false)) {
|
||||
assert !event.getFile().isDirectory();
|
||||
VcsVFSListener.this.beforeContentsChange(event.getFile());
|
||||
}
|
||||
assert !event.getFile().isDirectory();
|
||||
VcsVFSListener.this.beforeContentsChange(event, event.getFile());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user