Fix a FindBugs warning
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 26 Sep 2011 15:32:07 +0000 (15:32 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 26 Sep 2011 15:32:07 +0000 (15:32 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1175907 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/coyote/AsyncStateMachine.java

index 1160f4a..00af3a3 100644 (file)
@@ -325,7 +325,7 @@ public class AsyncStateMachine {
     }
     
     
-    public void recycle() {
+    public synchronized void recycle() {
         asyncCtxt = null;
         state = AsyncState.DISPATCHED;
     }