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:37:58 UTC
svn commit: r796160 - in /tomcat/container/tc5.5.x:
catalina/src/share/org/apache/catalina/Valve.java webapps/docs/changelog.xml
Author: markt
Date: Tue Jul 21 06:37:58 2009
New Revision: 796160
URL: http://svn.apache.org/viewvc?rev=796160&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/container/tc5.5.x/catalina/src/share/org/apache/catalina/Valve.java
tomcat/container/tc5.5.x/webapps/docs/changelog.xml
Modified: tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/Valve.java
URL: http://svn.apache.org/viewvc/tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/Valve.java?rev=796160&r1=796159&r2=796160&view=diff
==============================================================================
--- tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/Valve.java (original)
+++ tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/Valve.java Tue Jul 21 06:37:58 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/container/tc5.5.x/webapps/docs/changelog.xml
URL: http://svn.apache.org/viewvc/tomcat/container/tc5.5.x/webapps/docs/changelog.xml?rev=796160&r1=796159&r2=796160&view=diff
==============================================================================
--- tomcat/container/tc5.5.x/webapps/docs/changelog.xml (original)
+++ tomcat/container/tc5.5.x/webapps/docs/changelog.xml Tue Jul 21 06:37:58 2009
@@ -54,6 +54,10 @@
<bug>41059</bug>: Reduce the chances of errors when using
ENABLE_CLEAR_REFERENCES. Patch by Curt Arnold. (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="Coyote">
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org