You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by hu...@apache.org on 2002/06/25 20:26:16 UTC

cvs commit: jakarta-struts/src/share/org/apache/struts/actions SwitchAction.java LookupDispatchAction.java DispatchAction.java

husted      2002/06/25 11:26:15

  Modified:    src/share/org/apache/struts/actions SwitchAction.java
                        LookupDispatchAction.java DispatchAction.java
  Log:
  JavaDoc updates for execute versus perform.
  
  Revision  Changes    Path
  1.3       +5 -5      jakarta-struts/src/share/org/apache/struts/actions/SwitchAction.java
  
  Index: SwitchAction.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/actions/SwitchAction.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- SwitchAction.java	23 Mar 2002 01:38:15 -0000	1.2
  +++ SwitchAction.java	25 Jun 2002 18:26:15 -0000	1.3
  @@ -96,7 +96,7 @@
    *
    * @author Craig R. McClanahan
    * @version $Revision$ $Date$
  - * @since 1.1
  + * @since Struts 1.1
    */
   
   public class SwitchAction extends Action {
  
  
  
  1.5       +1 -1      jakarta-struts/src/share/org/apache/struts/actions/LookupDispatchAction.java
  
  Index: LookupDispatchAction.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/actions/LookupDispatchAction.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- LookupDispatchAction.java	25 Jun 2002 01:30:40 -0000	1.4
  +++ LookupDispatchAction.java	25 Jun 2002 18:26:15 -0000	1.5
  @@ -76,7 +76,7 @@
    *  <p>
    *
    *  An abstract <strong>Action</strong> that dispatches to the subclass mapped
  - *  perform method. This is useful in
  + *  <code>execute</code> method. This is useful in
    *  cases where an HTML form has multiple submit buttons with the same name. The
    *  button name is specified by the <code>parameter</code> property of the
    *  corresponding ActionMapping. To configure the use of this action in your
  
  
  
  1.7       +8 -8      jakarta-struts/src/share/org/apache/struts/actions/DispatchAction.java
  
  Index: DispatchAction.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/actions/DispatchAction.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- DispatchAction.java	23 Jun 2002 00:52:50 -0000	1.6
  +++ DispatchAction.java	25 Jun 2002 18:26:15 -0000	1.7
  @@ -100,8 +100,8 @@
    * </code>
    *
    * <p>which will use the value of the request parameter named "method"
  - * to pick the appropriate "perform" method, which must have the same
  - * signature (other than method name) of the standard Action.perform()
  + * to pick the appropriate "execute" method, which must have the same
  + * signature (other than method name) of the standard Action.execute
    * method.  For example, you might have the following three methods in the
    * same action:</p>
    * <ul>
  @@ -179,7 +179,7 @@
       /**
        * Dispatch to the specified method.
        * Added to class at Revision 1.3
  -     * @since 1.1
  +     * @since Struts 1.1
        */
        protected ActionForward dispatchMethod(ActionMapping mapping,
                                               ActionForm form,
  @@ -293,7 +293,7 @@
   
       /**
        * Introspect the current class to identify a method of the specified
  -     * name that accepts the same parameter types as the <code>perform()</code>
  +     * name that accepts the same parameter types as the <code>execute</code>
        * method does.
        *
        * @param name Name of the method to be introspected
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>