Simplify code in NioEndpoint$Poller.
authorkkolinko <kkolinko@13f79535-47bb-0310-9956-ffa450edef68>
Wed, 21 Sep 2011 13:14:29 +0000 (13:14 +0000)
committerkkolinko <kkolinko@13f79535-47bb-0310-9956-ffa450edef68>
Wed, 21 Sep 2011 13:14:29 +0000 (13:14 +0000)
commitdd1c1707d306a1b6bc55ddac691882e9afb390cc
tree8c2f3fc642f27f97baaa6c4f61f63b971301deef
parentc7c8a1ff18895fe5608ae0dcd6c062c4a4dd8e33
Simplify code in NioEndpoint$Poller.
The events.size() call is costly, because it is a loop that counts entries in a linked queue.
Actually it is not needed here at all, because we iterate the queue by ourselves.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1173614 13f79535-47bb-0310-9956-ffa450edef68
java/org/apache/tomcat/util/net/NioEndpoint.java