Author: markt
Date: Sun Dec 23 19:40:08 2012
New Revision: 1425514
URL: http://svn.apache.org/viewvc?rev=1425514&view=rev
Log:
Remove naked notify (resolving a FindBugs issue) as I can't find any locations
where wait() is called with the Poller as the monitor.
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=1425514&r1=1425513&r2=1425514&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java Sun Dec 23
19:40:08 2012
@@ -1109,11 +1109,8 @@ public class NioEndpoint extends Abstrac
}
}
}//while
- synchronized (this) {
- this.notifyAll();
- }
- stopLatch.countDown();
+ stopLatch.countDown();
}
protected boolean processKey(SelectionKey sk, KeyAttachment
attachment) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]