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 2009/07/21 08:29:47 UTC

svn commit: r796156 - in /tomcat/tc6.0.x/trunk: java/org/apache/catalina/Valve.java webapps/docs/changelog.xml

Author: markt
Date: Tue Jul 21 06:29:47 2009
New Revision: 796156

URL: http://svn.apache.org/viewvc?rev=796156&view=rev
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47518
Fix reference to old method in Valve Javadoc
Patch by Christopher Schultz

Modified:
    tomcat/tc6.0.x/trunk/java/org/apache/catalina/Valve.java
    tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml

Modified: tomcat/tc6.0.x/trunk/java/org/apache/catalina/Valve.java
URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/catalina/Valve.java?rev=796156&r1=796155&r2=796156&view=diff
==============================================================================
--- tomcat/tc6.0.x/trunk/java/org/apache/catalina/Valve.java (original)
+++ tomcat/tc6.0.x/trunk/java/org/apache/catalina/Valve.java Tue Jul 21 06:29:47 2009
@@ -94,7 +94,7 @@
      *     and pass them on.
      * <li>If the corresponding Response was not generated (and control was not
      *     returned, call the next Valve in the pipeline (if there is one) by
-     *     executing <code>context.invokeNext()</code>.
+     *     executing <code>getNext().invoke()</code>.
      * <li>Examine, but not modify, the properties of the resulting Response
      *     (which was created by a subsequently invoked Valve or Container).
      * </ul>
@@ -112,9 +112,9 @@
      *     unless it is completely generating the response, or wrapping the
      *     request before passing it on.
      * <li>Modify the HTTP headers included with the Response after the
-     *     <code>invokeNext()</code> method has returned.
+     *     <code>getNext().invoke()</code> method has returned.
      * <li>Perform any actions on the output stream associated with the
-     *     specified Response after the <code>invokeNext()</code> method has
+     *     specified Response after the <code>getNext().invoke()</code> method has
      *     returned.
      * </ul>
      *

Modified: tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml
URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml?rev=796156&r1=796155&r2=796156&view=diff
==============================================================================
--- tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml Tue Jul 21 06:29:47 2009
@@ -215,6 +215,10 @@
       <fix>
         <bug>47444</bug>: Remove Jakarta references. (markt)
       </fix>
+      <fix>
+        <bug>47518</bug>: Correct reference in Valve Javadoc that referred to an
+        old method. Patch provided by Christopher Schultz. (markt)
+      </fix>
     </changelog>
   </subsection>
   <subsection name="Other">



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