Commit 974f49ff authored by Alexey Kudravtsev's avatar Alexey Kudravtsev
Browse files

do not call expensive isUnderMyVcs() twice

parent 51aaa136
Branches unavailable Tags unavailable
Showing with 1 addition and 3 deletions
+1 -3
......@@ -317,9 +317,7 @@ public abstract class VcsVFSListener implements Disposable {
public void fileCreated(@NotNull final VirtualFileEvent event) {
VirtualFile file = event.getFile();
LOG.debug("fileCreated: ", file);
if (isUnderMyVcs(file)) {
fileAdded(event, file);
}
fileAdded(event, file);
}
@Override
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment