tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1175907 - /tomcat/trunk/java/org/apache/coyote/AsyncStateMachine.java
Date Mon, 26 Sep 2011 15:32:07 GMT
Author: markt
Date: Mon Sep 26 15:32:07 2011
New Revision: 1175907

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

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

Modified: tomcat/trunk/java/org/apache/coyote/AsyncStateMachine.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/AsyncStateMachine.java?rev=1175907&r1=1175906&r2=1175907&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/AsyncStateMachine.java (original)
+++ tomcat/trunk/java/org/apache/coyote/AsyncStateMachine.java Mon Sep 26 15:32:07 2011
@@ -325,7 +325,7 @@ public class AsyncStateMachine {
     }
     
     
-    public void recycle() {
+    public synchronized void recycle() {
         asyncCtxt = null;
         state = AsyncState.DISPATCHED;
     }



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


Mime
View raw message