choke the log statement, not needed
authorfhanik <fhanik@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 23 Mar 2007 16:12:09 +0000 (16:12 +0000)
committerfhanik <fhanik@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 23 Mar 2007 16:12:09 +0000 (16:12 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@521787 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/tomcat/util/net/NioEndpoint.java

index 4c45551..4171938 100644 (file)
@@ -1480,7 +1480,6 @@ public class NioEndpoint {
                 }
             }catch ( IOException x ) {
                 if ( log.isDebugEnabled() ) log.warn("Unable to complete sendfile request:", x);
-                else log.warn("Unable to complete sendfile request:"+x.getMessage());
                 cancelledKey(sk,SocketStatus.ERROR,false);
                 return false;
             }catch ( Throwable t ) {
@@ -1969,7 +1968,6 @@ public class NioEndpoint {
             }
             if ( handshake == 0 ) {
                 // Process the request from this socket
-                // Process the request from this socket
                 boolean closed = (status==null)?(handler.process(socket)==Handler.SocketState.CLOSED) :
                     (handler.event(socket,status)==Handler.SocketState.CLOSED);