jspwiki-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ajaqu...@apache.org
Subject svn commit: r667343 - /incubator/jspwiki/trunk/tests/com/ecyrd/jspwiki/web/TestContainer.java
Date Fri, 13 Jun 2008 05:04:59 GMT
Author: ajaquith
Date: Thu Jun 12 22:04:59 2008
New Revision: 667343

URL: http://svn.apache.org/viewvc?rev=667343&view=rev
Log:
Removed cruft.

Modified:
    incubator/jspwiki/trunk/tests/com/ecyrd/jspwiki/web/TestContainer.java

Modified: incubator/jspwiki/trunk/tests/com/ecyrd/jspwiki/web/TestContainer.java
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/tests/com/ecyrd/jspwiki/web/TestContainer.java?rev=667343&r1=667342&r2=667343&view=diff
==============================================================================
--- incubator/jspwiki/trunk/tests/com/ecyrd/jspwiki/web/TestContainer.java (original)
+++ incubator/jspwiki/trunk/tests/com/ecyrd/jspwiki/web/TestContainer.java Thu Jun 12 22:04:59
2008
@@ -238,7 +238,7 @@
         listener.setHost( "localhost" );
         listener.setMaxThreads( jettyThreads );
         listener.setPort( SHUTDOWN_PORT );
-        listener.setHttpHandler( new ShutdownHandler( server ) );
+        listener.setHttpHandler( new ShutdownHandler() );
         server.addListener( listener );
         log.info( "...added shutdown listener for port " + SHUTDOWN_PORT );
         
@@ -304,22 +304,9 @@
     {
         private static final long serialVersionUID = -7785141243907081919L;
 
-        private Server m_server;
-
         private HttpContext m_context;
 
         /**
-         * Sets a reference to the HttpContext so that it can be shut down
-         * later.
-         * 
-         * @param server the test container
-         */
-        public ShutdownHandler( Server server )
-        {
-            m_server = server;
-        }
-
-        /**
          * Returns the HttpContext used to initialize this handler.
          */
         public HttpContext getHttpContext()



Mime
View raw message