Author: markt Date: Wed Mar 23 00:27:00 2011 New Revision: 1084424 URL: http://svn.apache.org/viewvc?rev=1084424&view=rev Log: Rename, no functional change
Modified: tomcat/trunk/java/org/apache/coyote/http11/Http11AprProtocol.java Modified: tomcat/trunk/java/org/apache/coyote/http11/Http11AprProtocol.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/http11/Http11AprProtocol.java?rev=1084424&r1=1084423&r2=1084424&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/coyote/http11/Http11AprProtocol.java (original) +++ tomcat/trunk/java/org/apache/coyote/http11/Http11AprProtocol.java Wed Mar 23 00:27:00 2011 @@ -367,13 +367,13 @@ public class Http11AprProtocol extends A @Override public SocketState asyncDispatch(SocketWrapper<Long> socket, SocketStatus status) { - Http11AprProcessor result = connections.get(socket.getSocket()); + Http11AprProcessor processor = connections.get(socket.getSocket()); SocketState state = SocketState.CLOSED; - if (result != null) { + if (processor != null) { // Call the appropriate event try { - state = result.asyncDispatch(socket, status); + state = processor.asyncDispatch(socket, status); // Future developers: if you discover any rare-but-nonfatal // exceptions, catch them here, and log as per {@link #event()} // above. @@ -385,13 +385,13 @@ public class Http11AprProtocol extends A Http11AprProtocol.log.error (sm.getString("http11protocol.proto.error"), e); } finally { - if (state == SocketState.LONG && result.isAsync()) { - state = result.asyncPostProcess(); + if (state == SocketState.LONG && processor.isAsync()) { + state = processor.asyncPostProcess(); } if (state != SocketState.LONG && state != SocketState.ASYNC_END) { connections.remove(socket.getSocket()); socket.setAsync(false); - recycledProcessors.offer(result); + recycledProcessors.offer(processor); if (state == SocketState.OPEN) { ((AprEndpoint)proto.endpoint).getPoller().add(socket.getSocket().longValue()); } --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org