Remove old type dependant repo uri functions

This commit is contained in:
René Pfeuffer
2018-09-10 10:08:51 +02:00
parent fb54ba62e0
commit 50a4133dff
12 changed files with 13 additions and 198 deletions

View File

@@ -65,10 +65,8 @@ import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import javax.ws.rs.core.UriInfo;
import java.io.File;
import java.io.IOException;
import java.net.URI;
import java.util.Base64;
import java.util.Enumeration;
@@ -354,11 +352,6 @@ public class HgCGIServlet extends HttpServlet implements HttpScmProtocol
service(request, response);
}
@Override
public String getUrl(Repository repository, UriInfo uriInfo) {
return uriInfo.getBaseUri().resolve(URI.create("../../hg/" + repository.getNamespace() + "/" + repository.getName())).toASCIIString();
}
//~--- fields ---------------------------------------------------------------
/** Field description */