dgraham     2003/07/09 19:59:06

  Modified:    src/share/org/apache/struts/actions DispatchAction.java
  Log:
  Changed Class types[] to Class[] types.
  
  Revision  Changes    Path
  1.15      +12 -11    
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.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- DispatchAction.java       18 Feb 2003 04:01:07 -0000      1.14
  +++ DispatchAction.java       10 Jul 2003 02:59:06 -0000      1.15
  @@ -59,15 +59,15 @@
    *
    */
   
  -
   package org.apache.struts.actions;
   
  -
   import java.lang.reflect.InvocationTargetException;
   import java.lang.reflect.Method;
   import java.util.HashMap;
  +
   import javax.servlet.http.HttpServletRequest;
   import javax.servlet.http.HttpServletResponse;
  +
   import org.apache.commons.logging.Log;
   import org.apache.commons.logging.LogFactory;
   import org.apache.struts.action.Action;
  @@ -76,7 +76,6 @@
   import org.apache.struts.action.ActionMapping;
   import org.apache.struts.util.MessageResources;
   
  -
   /**
    * <p>An abstract <strong>Action</strong> that dispatches to a public
    * method that is named by the request parameter whose name is specified
  @@ -128,7 +127,6 @@
    * @author Ted Husted
    * @version $Revision$ $Date$
    */
  -
   public abstract class DispatchAction extends Action {
   
   
  @@ -168,9 +166,12 @@
        * The set of argument type classes for the reflected method call.  These
        * are the same for all calls, so calculate them only once.
        */
  -    protected Class types[] = {
  -        ActionMapping.class, ActionForm.class,
  -        HttpServletRequest.class, HttpServletResponse.class };
  +    protected Class[] types =
  +        {
  +            ActionMapping.class,
  +            ActionForm.class,
  +            HttpServletRequest.class,
  +            HttpServletResponse.class };
   
   
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to