You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2016/05/10 07:48:50 UTC

svn commit: r1743117 - in /tomcat/trunk: java/org/apache/tomcat/util/buf/MessageBytes.java webapps/docs/changelog.xml

Author: markt
Date: Tue May 10 07:48:50 2016
New Revision: 1743117

URL: http://svn.apache.org/viewvc?rev=1743117&view=rev
Log:
Correct Javadoc

Modified:
    tomcat/trunk/java/org/apache/tomcat/util/buf/MessageBytes.java
    tomcat/trunk/webapps/docs/changelog.xml

Modified: tomcat/trunk/java/org/apache/tomcat/util/buf/MessageBytes.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/buf/MessageBytes.java?rev=1743117&r1=1743116&r2=1743117&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/buf/MessageBytes.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/buf/MessageBytes.java Tue May 10 07:48:50 2016
@@ -44,10 +44,10 @@ public final class MessageBytes implemen
     /** getType() is T_STR if the the object used to create the MessageBytes
         was a String */
     public static final int T_STR  = 1;
-    /** getType() is T_STR if the the object used to create the MessageBytes
+    /** getType() is T_BYTES if the the object used to create the MessageBytes
         was a byte[] */
     public static final int T_BYTES = 2;
-    /** getType() is T_STR if the the object used to create the MessageBytes
+    /** getType() is T_CHARS if the the object used to create the MessageBytes
         was a char[] */
     public static final int T_CHARS = 3;
 

Modified: tomcat/trunk/webapps/docs/changelog.xml
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1743117&r1=1743116&r2=1743117&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/trunk/webapps/docs/changelog.xml Tue May 10 07:48:50 2016
@@ -278,6 +278,10 @@
         Correctly handle a call to <code>AsyncContext.complete()</code> from a
         non-container thread when non-blocking I/O is being used. (markt)
       </fix>
+      <fix>
+        <bug>59451</bug>: Correct Javadoc for <code>MessageBytes</code>. Patch
+        provided by Kyohei Nakamura. (markt)
+      </fix>
     </changelog>
   </subsection>
   <subsection name="Jasper">



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