Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47518
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 21 Jul 2009 06:24:58 +0000 (06:24 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 21 Jul 2009 06:24:58 +0000 (06:24 +0000)
Fix reference to old method in Valve Javadoc
Patch by Christopher Schultz

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@796155 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/catalina/Valve.java

index c319657..858812d 100644 (file)
@@ -94,7 +94,7 @@ public interface Valve {
      *     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 @@ public interface Valve {
      *     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>
      *