commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From joc...@apache.org
Subject svn commit: r605676 - /commons/proper/fileupload/trunk/src/java/org/apache/commons/fileupload/disk/DiskFileItem.java
Date Wed, 19 Dec 2007 20:12:28 GMT
Author: jochen
Date: Wed Dec 19 12:12:28 2007
New Revision: 605676

URL: http://svn.apache.org/viewvc?rev=605676&view=rev
Log:
Fixed the broken DiskFileItemSerializeTest

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

Modified: commons/proper/fileupload/trunk/src/java/org/apache/commons/fileupload/disk/DiskFileItem.java
URL: http://svn.apache.org/viewvc/commons/proper/fileupload/trunk/src/java/org/apache/commons/fileupload/disk/DiskFileItem.java?rev=605676&r1=605675&r2=605676&view=diff
==============================================================================
--- commons/proper/fileupload/trunk/src/java/org/apache/commons/fileupload/disk/DiskFileItem.java
(original)
+++ commons/proper/fileupload/trunk/src/java/org/apache/commons/fileupload/disk/DiskFileItem.java
Wed Dec 19 12:12:28 2007
@@ -168,7 +168,7 @@
     /**
      * The temporary file to use.
      */
-    private File tempFile;
+    private transient File tempFile;
 
     /**
      * File to allow for serialization of the content of this item.
@@ -706,7 +706,6 @@
             output.write(cachedContent);
         } else {
             FileInputStream input = new FileInputStream(dfosFile);
-
             IOUtils.copy(input, output);
             dfosFile.delete();
             dfosFile = null;



Mime
View raw message