You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ol...@apache.org on 2008/02/21 15:41:36 UTC

svn commit: r629805 - /httpcomponents/httpcore/branches/limewire_contrib/module-nio/src/main/java/org/apache/http/nio/protocol/AsyncNHttpServiceHandler.java

Author: olegk
Date: Thu Feb 21 06:41:36 2008
New Revision: 629805

URL: http://svn.apache.org/viewvc?rev=629805&view=rev
Log:
Removed #printStackTrace()

Modified:
    httpcomponents/httpcore/branches/limewire_contrib/module-nio/src/main/java/org/apache/http/nio/protocol/AsyncNHttpServiceHandler.java

Modified: httpcomponents/httpcore/branches/limewire_contrib/module-nio/src/main/java/org/apache/http/nio/protocol/AsyncNHttpServiceHandler.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/branches/limewire_contrib/module-nio/src/main/java/org/apache/http/nio/protocol/AsyncNHttpServiceHandler.java?rev=629805&r1=629804&r2=629805&view=diff
==============================================================================
--- httpcomponents/httpcore/branches/limewire_contrib/module-nio/src/main/java/org/apache/http/nio/protocol/AsyncNHttpServiceHandler.java (original)
+++ httpcomponents/httpcore/branches/limewire_contrib/module-nio/src/main/java/org/apache/http/nio/protocol/AsyncNHttpServiceHandler.java Thu Feb 21 06:41:36 2008
@@ -105,16 +105,20 @@
 
     protected NHttpRequestHandlerResolver handlerResolver;
 
-    public AsyncNHttpServiceHandler(final HttpProcessor httpProcessor,
+    public AsyncNHttpServiceHandler(
+            final HttpProcessor httpProcessor,
             final HttpResponseFactory responseFactory,
             final ConnectionReuseStrategy connStrategy,
-            final ByteBufferAllocator allocator, final HttpParams params) {
+            final ByteBufferAllocator allocator,
+            final HttpParams params) {
         super(httpProcessor, responseFactory, connStrategy, allocator, params);
     }
 
-    public AsyncNHttpServiceHandler(final HttpProcessor httpProcessor,
+    public AsyncNHttpServiceHandler(
+            final HttpProcessor httpProcessor,
             final HttpResponseFactory responseFactory,
-            final ConnectionReuseStrategy connStrategy, final HttpParams params) {
+            final ConnectionReuseStrategy connStrategy,
+            final HttpParams params) {
         this(httpProcessor, responseFactory, connStrategy,
                 new HeapByteBufferAllocator(), params);
     }
@@ -123,7 +127,6 @@
         this.handlerResolver = handlerResolver;
     }
 
-
     public void connected(final NHttpServerConnection conn) {
         HttpContext context = conn.getContext();
 
@@ -169,7 +172,6 @@
                         try {
                             this.expectationVerifier.verify(request, response, context);
                         } catch (HttpException ex) {
-                            ex.printStackTrace();
                             response = this.responseFactory.newHttpResponse(
                                     HttpVersion.HTTP_1_0,
                                     HttpStatus.SC_INTERNAL_SERVER_ERROR,