Author: markt
Date: Tue May 13 20:50:20 2014
New Revision: 1594377

URL: http://svn.apache.org/r1594377
Log:
Return value is never used (and is hard coded to true anyway) so change return 
type to void.

Modified:
    tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java

Modified: tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java?rev=1594377&r1=1594376&r2=1594377&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java Tue May 13 
20:50:20 2014
@@ -607,13 +607,12 @@ public class NioEndpoint extends Abstrac
         dispatchForEvent(socketWrapper.getSocket(), socketStatus, dispatch);
     }
 
-    public boolean dispatchForEvent(NioChannel socket, SocketStatus status, 
boolean dispatch) {
+    public void dispatchForEvent(NioChannel socket, SocketStatus status, 
boolean dispatch) {
         if (dispatch && status == SocketStatus.OPEN_READ) {
             socket.getPoller().add(socket, OP_CALLBACK);
         } else {
             processSocket(socket,status,dispatch);
         }
-        return true;
     }
 
     protected boolean processSocket(NioChannel socket, SocketStatus status, 
boolean dispatch) {



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to