tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1392602 - /tomcat/trunk/java/org/apache/coyote/AbstractProtocol.java
Date Mon, 01 Oct 2012 21:05:14 GMT
Author: markt
Date: Mon Oct  1 21:05:14 2012
New Revision: 1392602

URL: http://svn.apache.org/viewvc?rev=1392602&view=rev
Log:
Fix a warning

Modified:
    tomcat/trunk/java/org/apache/coyote/AbstractProtocol.java

Modified: tomcat/trunk/java/org/apache/coyote/AbstractProtocol.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/AbstractProtocol.java?rev=1392602&r1=1392601&r2=1392602&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/AbstractProtocol.java (original)
+++ tomcat/trunk/java/org/apache/coyote/AbstractProtocol.java Mon Oct  1 21:05:14 2012
@@ -785,7 +785,7 @@ public abstract class AbstractProtocol i
         }
 
         @Override
-        public void clear() {
+        public synchronized void clear() {
             Processor<S> next = pop();
             while (next != null) {
                 handler.unregister(next);



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message