tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1173021 - /tomcat/trunk/test/org/apache/catalina/comet/TestCometProcessor.java
Date Tue, 20 Sep 2011 08:36:19 GMT
Author: markt
Date: Tue Sep 20 08:36:18 2011
New Revision: 1173021

URL: http://svn.apache.org/viewvc?rev=1173021&view=rev
Log:
Remove debug use of System.out
Add missing volatile

Modified:
    tomcat/trunk/test/org/apache/catalina/comet/TestCometProcessor.java

Modified: tomcat/trunk/test/org/apache/catalina/comet/TestCometProcessor.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/catalina/comet/TestCometProcessor.java?rev=1173021&r1=1173020&r2=1173021&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/catalina/comet/TestCometProcessor.java (original)
+++ tomcat/trunk/test/org/apache/catalina/comet/TestCometProcessor.java Tue Sep 20 08:36:18
2011
@@ -262,7 +262,7 @@ public class TestCometProcessor extends 
 
         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 
                     response.append((char) c);
                     c = is.read();
                 }
-                System.out.println("EOF");
             } catch (Exception e) {
                 this.e = e;
             }



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


Mime
View raw message