From: Olivier Lamy Date: Tue, 3 Dec 2013 05:47:00 +0000 (+0000) Subject: remove commented code X-Git-Tag: archiva-2.0.0-RC1~168 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4ec1959cdd38032230363d5e36c633a4e8062d3d;p=archiva.git remove commented code git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1547293 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/remotedownload/AbstractDownloadTest.java b/archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/remotedownload/AbstractDownloadTest.java index bd0e48a46..eda732dba 100644 --- a/archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/remotedownload/AbstractDownloadTest.java +++ b/archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/remotedownload/AbstractDownloadTest.java @@ -108,35 +108,6 @@ public abstract class AbstractDownloadTest System.setProperty( "redback.admin.creation.file", "target/auto-admin-creation.properties" ); - /* - this.server = new Server( 0 ); - - ServletContextHandler context = new ServletContextHandler(); - - context.setContextPath( "/" ); - - context.setInitParameter( "contextConfigLocation", getSpringConfigLocation() ); - - ContextLoaderListener contextLoaderListener = new ContextLoaderListener(); - - context.addEventListener( contextLoaderListener ); - - ServletHolder sh = new ServletHolder( CXFServlet.class ); - - SessionHandler sessionHandler = new SessionHandler(); - - context.setSessionHandler( sessionHandler ); - - context.addServlet( sh, "/" + getRestServicesPath() + "/*" ); - - ServletHolder repoSh = new ServletHolder( RepositoryServlet.class ); - context.addServlet( repoSh, "/repository/*" ); - - server.setHandler( context ); - this.server.start(); - Connector connector = this.server.getConnectors()[0]; - this.port = connector.getLocalPort(); - */ tomcat = new Tomcat(); tomcat.setBaseDir( System.getProperty( "java.io.tmpdir" ) ); tomcat.setPort( 0 );