Author: markt Date: Wed Jan 28 14:35:01 2015 New Revision: 1655353 URL: http://svn.apache.org/r1655353 Log: Remove unused return value
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=1655353&r1=1655352&r2=1655353&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java Wed Jan 28 14:35:01 2015 @@ -1050,8 +1050,7 @@ public class NioEndpoint extends Abstrac stopLatch.countDown(); } - protected boolean processKey(SelectionKey sk, NioSocketWrapper attachment) { - boolean result = true; + protected void processKey(SelectionKey sk, NioSocketWrapper attachment) { try { if ( close ) { cancelledKey(sk); @@ -1078,8 +1077,6 @@ public class NioEndpoint extends Abstrac if (closeSocket) { cancelledKey(sk); } - } else { - result = false; } } } @@ -1093,7 +1090,6 @@ public class NioEndpoint extends Abstrac ExceptionUtils.handleThrowable(t); log.error("",t); } - return result; } public SendfileState processSendfile(SelectionKey sk, NioSocketWrapper socketWrapper, --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org