Remove the unneeded main from Dump which was accidentally commited as part of 1418 I think.

git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1422 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
Jan Bartel 2010-03-30 15:27:33 +00:00
parent 51541f7109
commit 4d399b7d07
1 changed files with 0 additions and 21 deletions

View File

@ -41,11 +41,6 @@ import org.eclipse.jetty.continuation.Continuation;
import org.eclipse.jetty.continuation.ContinuationListener;
import org.eclipse.jetty.continuation.ContinuationSupport;
import org.eclipse.jetty.http.HttpHeaders;
import org.eclipse.jetty.server.Connector;
import org.eclipse.jetty.server.Server;
import org.eclipse.jetty.server.bio.SocketConnector;
import org.eclipse.jetty.server.handler.ContextHandler;
import org.eclipse.jetty.servlet.ServletHandler;
import org.eclipse.jetty.util.StringUtil;
import org.eclipse.jetty.util.log.Log;
@ -921,20 +916,4 @@ public class Dump extends HttpServlet
s=StringUtil.replace(s,">",">");
return s;
}
public static void main(String[] args) throws Exception
{
Server server = new Server(8080);
ContextHandler context = new ContextHandler();
context.setContextPath("/");
server.setHandler(context);
ServletHandler handler = new ServletHandler();
context.setHandler(handler);
handler.addServletWithMapping(Dump.class.getName(),"/");
server.start();
server.join();
}
}