changeset 767:fda7fa2d6126

downcast
author eugene.petrenko@jetbrains.com
date Tue, 25 Feb 2014 12:20:43 +0100
parents 8ee72c2b4c65
children f2e43b4d3558
files mercurial-server/src/jetbrains/buildServer/buildTriggers/vcs/mercurial/RepoFactory.java
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial-server/src/jetbrains/buildServer/buildTriggers/vcs/mercurial/RepoFactory.java	Tue Feb 25 12:19:01 2014 +0100
+++ b/mercurial-server/src/jetbrains/buildServer/buildTriggers/vcs/mercurial/RepoFactory.java	Tue Feb 25 12:20:43 2014 +0100
@@ -58,7 +58,8 @@
                     myFastLogTemplate);
   }
 
-  public HgRepo createRepo(@NotNull HgVcsRoot root, @NotNull File workingDir) throws VcsException {
+  @NotNull
+  public ServerHgRepo createRepo(@NotNull HgVcsRoot root, @NotNull File workingDir) throws VcsException {
     return create(workingDir, myHgPathProvider.getHgPath(root), root.getAuthSettings());
   }