struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rlel...@apache.org
Subject cvs commit: jakarta-struts/src/share/org/apache/struts/upload CommonsMultipartRequestHandler.java
Date Fri, 02 May 2003 04:35:42 GMT
rleland     2003/05/01 21:35:42

  Modified:    src/share/org/apache/struts/upload
                        CommonsMultipartRequestHandler.java
  Log:
  Remove unused parameter from method.
  
  Revision  Changes    Path
  1.10      +6 -7      jakarta-struts/src/share/org/apache/struts/upload/CommonsMultipartRequestHandler.java
  
  Index: CommonsMultipartRequestHandler.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/upload/CommonsMultipartRequestHandler.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- CommonsMultipartRequestHandler.java	27 Apr 2003 17:49:34 -0000	1.9
  +++ CommonsMultipartRequestHandler.java	2 May 2003 04:35:42 -0000	1.10
  @@ -250,7 +250,7 @@
               if (item.isFormField()) {
                   addTextParameter(request, item);
               } else {
  -                addFileParameter(request, item);
  +                addFileParameter(item);
               }
           }
       }
  @@ -476,10 +476,9 @@
        * Adds a file parameter to the set of file parameters for this request
        * and also to the list of all parameters.
        *
  -     * @param request The request in which the parameter was specified.
        * @param item    The file item for the parameter to add.
        */
  -    protected void addFileParameter(HttpServletRequest request, FileItem item) {
  +    protected void addFileParameter(FileItem item) {
           FormFile formFile = new CommonsFormFile(item);
   
           elementsFile.put(item.getFieldName(), formFile);
  
  
  

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


Mime
View raw message