Mercurial > hg > mercurial
diff mercurial-server/src/jetbrains/buildServer/buildTriggers/vcs/mercurial/MercurialVcsSupport.java @ 877:45311425ee3c
Remove unused field
HgPathProvider wasn't used in OperationContext. Remove it from
all the places where it was needed only to create the context.
author | Dmitry Neverov <dmitry.neverov@jetbrains.com> |
---|---|
date | Fri, 03 Oct 2014 22:29:27 +0200 |
parents | b2816067699a |
children | c0c1a3f4b6f7 |
line wrap: on
line diff
--- a/mercurial-server/src/jetbrains/buildServer/buildTriggers/vcs/mercurial/MercurialVcsSupport.java Wed Oct 01 22:03:19 2014 +0200 +++ b/mercurial-server/src/jetbrains/buildServer/buildTriggers/vcs/mercurial/MercurialVcsSupport.java Fri Oct 03 22:29:27 2014 +0200 @@ -58,7 +58,6 @@ private final VcsOperationProgressProvider myProgressProvider; private final MirrorManager myMirrorManager; private final ServerPluginConfig myConfig; - private final HgPathProvider myHgPathProvider; private final RepoFactory myRepoFactory; private final HgVcsRootFactory myHgVcsRootFactory; private final FileFilter myIgnoreDotHgFilter = new IgnoreDotHgFilter(); @@ -71,7 +70,6 @@ @NotNull final EventDispatcher<ServerListener> dispatcher, @NotNull final ResetCacheRegister resetCacheHandlerManager, @NotNull final ServerPluginConfig config, - @NotNull final HgPathProvider hgPathProvider, @NotNull final RepoFactory repoFactory, @NotNull final MirrorManager mirrorManager, @NotNull final HgVcsRootFactory hgVcsRootFactory, @@ -80,7 +78,6 @@ myProgressProvider = progressProvider; myConfig = config; myMirrorManager = mirrorManager; - myHgPathProvider = hgPathProvider; myRepoFactory = repoFactory; myHgVcsRootFactory = hgVcsRootFactory; myTestConnection = testConnection; @@ -624,7 +621,7 @@ @NotNull public MercurialCollectChangesPolicy getCollectChangesPolicy() { - return new MercurialCollectChangesPolicy(myProgressProvider, this, myConfig, myHgVcsRootFactory, myRepoFactory, myHgPathProvider); + return new MercurialCollectChangesPolicy(myProgressProvider, this, myConfig, myHgVcsRootFactory, myRepoFactory); }