tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kkoli...@apache.org
Subject svn commit: r1345779 - /tomcat/trunk/java/org/apache/catalina/websocket/StreamInbound.java
Date Sun, 03 Jun 2012 21:10:57 GMT
Author: kkolinko
Date: Sun Jun  3 21:10:56 2012
New Revision: 1345779

URL: http://svn.apache.org/viewvc?rev=1345779&view=rev
Log:
Review of r1345737: Correct copy-pasted comments to match the method that is actually called
there.

Modified:
    tomcat/trunk/java/org/apache/catalina/websocket/StreamInbound.java

Modified: tomcat/trunk/java/org/apache/catalina/websocket/StreamInbound.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/websocket/StreamInbound.java?rev=1345779&r1=1345778&r2=1345779&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/websocket/StreamInbound.java (original)
+++ tomcat/trunk/java/org/apache/catalina/websocket/StreamInbound.java Sun Jun  3 21:10:56
2012
@@ -165,7 +165,7 @@ public abstract class StreamInbound impl
     }
 
     private void doOnBinaryData(InputStream is) throws IOException {
-        // Need to call onClose using the web application's class loader
+        // Need to call onBinaryData using the web application's class loader
         Thread t = Thread.currentThread();
         ClassLoader cl = t.getContextClassLoader();
         t.setContextClassLoader(applicationClassLoader);
@@ -178,7 +178,7 @@ public abstract class StreamInbound impl
 
 
     private void doOnTextData(Reader r) throws IOException {
-        // Need to call onClose using the web application's class loader
+        // Need to call onTextData using the web application's class loader
         Thread t = Thread.currentThread();
         ClassLoader cl = t.getContextClassLoader();
         t.setContextClassLoader(applicationClassLoader);



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


Mime
View raw message