From 4ec1959cdd38032230363d5e36c633a4e8062d3d Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Tue, 3 Dec 2013 05:47:00 +0000 Subject: [PATCH] remove commented code git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1547293 13f79535-47bb-0310-9956-ffa450edef68 --- .../remotedownload/AbstractDownloadTest.java | 29 ------------------- 1 file changed, 29 deletions(-) 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 ); -- 2.39.5