commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1568686 - /commons/proper/fileupload/trunk/src/main/java/org/apache/commons/fileupload/disk/DiskFileItem.java
Date Sat, 15 Feb 2014 21:35:00 GMT
Author: sebb
Date: Sat Feb 15 21:34:59 2014
New Revision: 1568686

URL: http://svn.apache.org/r1568686
Log:
Oops - accidental commit of debug code

Modified:
    commons/proper/fileupload/trunk/src/main/java/org/apache/commons/fileupload/disk/DiskFileItem.java

Modified: commons/proper/fileupload/trunk/src/main/java/org/apache/commons/fileupload/disk/DiskFileItem.java
URL: http://svn.apache.org/viewvc/commons/proper/fileupload/trunk/src/main/java/org/apache/commons/fileupload/disk/DiskFileItem.java?rev=1568686&r1=1568685&r2=1568686&view=diff
==============================================================================
--- commons/proper/fileupload/trunk/src/main/java/org/apache/commons/fileupload/disk/DiskFileItem.java
(original)
+++ commons/proper/fileupload/trunk/src/main/java/org/apache/commons/fileupload/disk/DiskFileItem.java
Sat Feb 15 21:34:59 2014
@@ -663,11 +663,9 @@ public class DiskFileItem
         if (cachedContent != null) {
             output.write(cachedContent);
         } else {
-            new Throwable(dfosFile.toString()).printStackTrace();
             FileInputStream input = new FileInputStream(dfosFile);
             IOUtils.copy(input, output);
-            input.close();
-            System.out.println("deleted?"+dfosFile.delete()+" "+dfosFile);
+            dfosFile.delete();
             dfosFile = null;
         }
         output.close();



Mime
View raw message