Author: remy.maucherat(a)jboss.com
Date: 2013-11-29 11:39:53 -0500 (Fri, 29 Nov 2013)
New Revision: 2314
Modified:
branches/7.4.x/src/main/java/org/apache/tomcat/util/net/NioEndpoint.java
Log:
Remove duplicate check.
Modified: branches/7.4.x/src/main/java/org/apache/tomcat/util/net/NioEndpoint.java
===================================================================
--- branches/7.4.x/src/main/java/org/apache/tomcat/util/net/NioEndpoint.java 2013-11-29
15:13:32 UTC (rev 2313)
+++ branches/7.4.x/src/main/java/org/apache/tomcat/util/net/NioEndpoint.java 2013-11-29
16:39:53 UTC (rev 2314)
@@ -974,7 +974,7 @@
}
}
- while (running && this.channelList.size() < 1 && running) {
+ while (this.channelList.size() < 1 && running) {
synchronized (this.mutex) {
try {
this.mutex.wait(10000);
@@ -984,7 +984,7 @@
}
}
- while (running && this.channelList.size() > 0 && running) {
+ while (this.channelList.size() > 0 && running) {
maintain();
try {
Thread.sleep(5000);
Show replies by date