Author: markt
Date: Sat Oct 24 21:07:13 2009
New Revision: 829451

URL: http://svn.apache.org/viewvc?rev=829451&view=rev
Log:
Remove unused field

Modified:
    
tomcat/trunk/java/org/apache/tomcat/util/http/fileupload/DeferredFileOutputStream.java

Modified: 
tomcat/trunk/java/org/apache/tomcat/util/http/fileupload/DeferredFileOutputStream.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/http/fileupload/DeferredFileOutputStream.java?rev=829451&r1=829450&r2=829451&view=diff
==============================================================================
--- 
tomcat/trunk/java/org/apache/tomcat/util/http/fileupload/DeferredFileOutputStream.java
 (original)
+++ 
tomcat/trunk/java/org/apache/tomcat/util/http/fileupload/DeferredFileOutputStream.java
 Sat Oct 24 21:07:13 2009
@@ -42,20 +42,13 @@
 
 
     /**
-     * The output stream to which data will be written prior to the theshold
+     * The output stream to which data will be written prior to the threshold
      * being reached.
      */
     private ByteArrayOutputStream memoryOutputStream;
 
 
     /**
-     * The output stream to which data will be written after the theshold is
-     * reached.
-     */
-    private FileOutputStream diskOutputStream;
-
-
-    /**
      * The output stream to which data will be written at any given time. This
      * will always be one of <code>memoryOutputStream</code> or
      * <code>diskOutputStream</code>.
@@ -126,7 +119,6 @@
         byte[] data = memoryOutputStream.toByteArray();
         FileOutputStream fos = new FileOutputStream(outputFile);
         fos.write(data);
-        diskOutputStream = fos;
         currentOutputStream = fos;
         memoryOutputStream = null;
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to