cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ghow...@apache.org
Subject cvs commit: cocoon-2.1/src/java/org/apache/cocoon/servlet/multipart MultipartHttpServletRequest.java
Date Sun, 18 May 2003 01:50:46 GMT
ghoward     2003/05/17 18:50:46

  Modified:    src/java/org/apache/cocoon/servlet/multipart
                        MultipartHttpServletRequest.java
  Log:
  Fix file cleanup on uploads.
  
  Revision  Changes    Path
  1.2       +2 -2      cocoon-2.1/src/java/org/apache/cocoon/servlet/multipart/MultipartHttpServletRequest.java
  
  Index: MultipartHttpServletRequest.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/servlet/multipart/MultipartHttpServletRequest.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- MultipartHttpServletRequest.java	4 Apr 2003 13:19:05 -0000	1.1
  +++ MultipartHttpServletRequest.java	18 May 2003 01:50:46 -0000	1.2
  @@ -97,7 +97,7 @@
       public void cleanup() throws IOException {
           Enumeration e = getParameterNames();
           while (e.hasMoreElements()) {
  -            Object o = e.nextElement();
  +            Object o = get( (String)e.nextElement() );
               if (o instanceof PartOnDisk) {
                   File file = ((PartOnDisk) o).getFile();
                   file.delete();
  
  
  

Mime
View raw message