struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hus...@apache.org
Subject cvs commit: jakarta-struts/contrib/scaffold/src/java/org/apache/struts/scaffold ProcessAction.java
Date Thu, 02 Jan 2003 19:43:27 GMT
husted      2003/01/02 11:43:27

  Modified:    contrib/scaffold/src/java/org/apache/struts/scaffold
                        ProcessAction.java
  Log:
  + JavaDoc / code style fixes.
  
  Revision  Changes    Path
  1.9       +16 -29    jakarta-struts/contrib/scaffold/src/java/org/apache/struts/scaffold/ProcessAction.java
  
  Index: ProcessAction.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/contrib/scaffold/src/java/org/apache/struts/scaffold/ProcessAction.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- ProcessAction.java	8 Dec 2002 08:14:29 -0000	1.8
  +++ ProcessAction.java	2 Jan 2003 19:43:27 -0000	1.9
  @@ -1,31 +1,20 @@
   package org.apache.struts.scaffold;
   
   
  -import java.io.IOException;
  -
  -import java.util.Collection;
  -import java.util.Iterator;
  -import java.util.Map;
  -
  -import javax.servlet.ServletException;
  -import javax.servlet.http.HttpServletRequest;
  -import javax.servlet.http.HttpServletResponse;
  -
   import org.apache.commons.beanutils.PropertyUtils;
  -
  -import org.apache.struts.action.ActionError;
  -import org.apache.struts.action.ActionErrors;
  -import org.apache.struts.action.ActionForm;
  -import org.apache.struts.action.ActionForward;
  -import org.apache.struts.action.ActionMapping;
  -
  -
   import org.apache.commons.scaffold.lang.Log;
   import org.apache.commons.scaffold.lang.Tokens;
   import org.apache.commons.scaffold.util.ProcessBean;
   import org.apache.commons.scaffold.util.ProcessResult;
  -import org.apache.commons.scaffold.util.ResultList;
  -import org.apache.commons.scaffold.util.ResultListBase;
  +import org.apache.struts.action.*;
  +
  +import javax.servlet.ServletException;
  +import javax.servlet.http.HttpServletRequest;
  +import javax.servlet.http.HttpServletResponse;
  +import java.io.IOException;
  +import java.util.Collection;
  +import java.util.Iterator;
  +import java.util.Map;
   
   
   /**
  @@ -92,9 +81,8 @@
        * If data is a Collection, only the first element is stored.
        *
        * @param mapping The ActionMapping used to select this instance
  -     * @param form The ActionForm
        * @param request The HTTP request we are processing
  -     * @param processResult The ProcessResult we are handling
  +     * @param result The ProcessResult we are handling
        */
       protected void checkDataSingle(
               ActionMapping mapping,
  @@ -140,9 +128,8 @@
        * By default, this is the <code>form-bean</code>'s name.
        *
        * @param mapping The ActionMapping used to select this instance
  -     * @param form The ActionForm
        * @param request The HTTP request we are processing
  -     * @param processResult The ProcessResult we are handling
  +     * @param result The ProcessResult we are handling
        */
       protected void checkData(
               ActionMapping mapping,
  @@ -236,7 +223,7 @@
         * superclass method.
         *
         * @param mapping The ActionMapping used to select this instance
  -      * @param actionForm The optional ActionForm bean for this request
  +      * @param form The optional ActionForm bean for this request
         * @param request The HTTP request we are processing
         * @param response The resonse we are creating
         * @return The ActionForward representing FAILURE
  @@ -274,7 +261,7 @@
        * default behaviour will branch to findFailure().
        *
        * @param mapping The ActionMapping used to select this instance
  -     * @param actionForm The optional ActionForm bean for this request
  +     * @param form The optional ActionForm bean for this request
        * @param request The HTTP request we are processing
        * @param response The resonse we are creating
        */
  @@ -325,7 +312,7 @@
        *
        * @param mapping The ActionMapping used to select this instance
        * @param request The HTTP request we are processing
  -     * @param processResult The ProcessResult we are handling
  +     * @param result The ProcessResult we are handling
        */
       protected void checkOutcome(
               ActionMapping mapping,
  @@ -437,7 +424,7 @@
        * @param form The ActionForm
        * @param request The HTTP request we are processing
        * @param response The HTTP response we are creating
  -     * @param helper The object instantiated from type given as parameter.
  +     * @param helpers The object instantiated from type given as parameter.
        * @exception IOException if an input/output error occurs
        * @exception ServletException if a servlet exception occurs
        */
  
  
  

--
To unsubscribe, e-mail:   <mailto:struts-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@jakarta.apache.org>


Mime
View raw message