Skip to content

Commit

Permalink
CHE-7407: Remove redundant file watcher initialization (#7867)
Browse files Browse the repository at this point in the history
  • Loading branch information
vinokurig authored and Roman Iuvshyn committed Dec 20, 2017
1 parent 2c1b5a4 commit b565002
Showing 1 changed file with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ public void onWsAgentStarted(WsAgentStateEvent event) {
initializeJsonRpc();
initializeTreeExplorerFileWatcher();
initializeGitCheckoutWatcher();
initializeGitChangeWatcher();
initializeGitIndexWatcher();
subscribeToGitEvents();
}
Expand Down Expand Up @@ -169,15 +168,6 @@ private void initializeGitCheckoutWatcher() {
.sendAndSkipResult();
}

private void initializeGitChangeWatcher() {
requestTransmitter
.newRequest()
.endpointId("ws-agent")
.methodName("track/git-change")
.noParams()
.sendAndSkipResult();
}

private void initializeGitIndexWatcher() {
requestTransmitter
.newRequest()
Expand Down

0 comments on commit b565002

Please sign in to comment.