You are viewing a plain text version of this content. The canonical link for it is here.
Posted to droids-commits@incubator.apache.org by ol...@apache.org on 2008/11/04 20:12:57 UTC

svn commit: r711376 - /incubator/droids/trunk/src/test/java/org/apache/droids/localserver/LocalHttpServer.java

Author: olegk
Date: Tue Nov  4 12:12:57 2008
New Revision: 711376

URL: http://svn.apache.org/viewvc?rev=711376&view=rev
Log:
Removed unused local variable

Modified:
    incubator/droids/trunk/src/test/java/org/apache/droids/localserver/LocalHttpServer.java

Modified: incubator/droids/trunk/src/test/java/org/apache/droids/localserver/LocalHttpServer.java
URL: http://svn.apache.org/viewvc/incubator/droids/trunk/src/test/java/org/apache/droids/localserver/LocalHttpServer.java?rev=711376&r1=711375&r2=711376&view=diff
==============================================================================
--- incubator/droids/trunk/src/test/java/org/apache/droids/localserver/LocalHttpServer.java (original)
+++ incubator/droids/trunk/src/test/java/org/apache/droids/localserver/LocalHttpServer.java Tue Nov  4 12:12:57 2008
@@ -27,7 +27,6 @@
 import java.util.concurrent.atomic.AtomicInteger;
 
 import org.apache.droids.helper.Loggable;
-import org.apache.http.ConnectionReuseStrategy;
 import org.apache.http.HttpException;
 import org.apache.http.HttpServerConnection;
 import org.apache.http.impl.DefaultConnectionReuseStrategy;
@@ -64,9 +63,6 @@
   /** The request handler registry. */
   private final HttpRequestHandlerRegistry handlerRegistry;
 
-  /** The server-side connection re-use strategy. */
-  private final ConnectionReuseStrategy reuseStrategy;
-
   /**
    * The HTTP processor. If the interceptors are thread safe and the list is not
    * modified during operation, the processor is thread safe.
@@ -90,7 +86,6 @@
    */
   public LocalHttpServer() {
     this.handlerRegistry = new HttpRequestHandlerRegistry();
-    this.reuseStrategy = new DefaultConnectionReuseStrategy();
     this.httpProcessor = new BasicHttpProcessor();
     this.httpProcessor.addInterceptor(new ResponseDate());
     this.httpProcessor.addInterceptor(new ResponseServer());