You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2012/12/23 20:40:08 UTC
svn commit: r1425514 -
/tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org