Remove debug use of System.out
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 20 Sep 2011 08:36:18 +0000 (08:36 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 20 Sep 2011 08:36:18 +0000 (08:36 +0000)
Add missing volatile

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1173021 13f79535-47bb-0310-9956-ffa450edef68

test/org/apache/catalina/comet/TestCometProcessor.java

index 16c3782..d63576e 100644 (file)
@@ -262,7 +262,7 @@ public class TestCometProcessor extends TomcatBaseTest {
 
         private InputStream is;
         private StringBuilder response = new StringBuilder();
-        private Exception e = null;
+        private volatile Exception e = null;
 
         public ResponseReaderThread(InputStream is) {
             this.is = is;
@@ -284,7 +284,6 @@ public class TestCometProcessor extends TomcatBaseTest {
                     response.append((char) c);
                     c = is.read();
                 }
-                System.out.println("EOF");
             } catch (Exception e) {
                 this.e = e;
             }