xmlgraphics-fop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerem...@apache.org
Subject svn commit: r234272 - /xmlgraphics/fop/trunk/src/java/org/apache/fop/pdf/TempFileStreamCache.java
Date Sun, 21 Aug 2005 17:08:13 GMT
Author: jeremias
Date: Sun Aug 21 10:08:10 2005
New Revision: 234272

URL: http://svn.apache.org/viewcvs?rev=234272&view=rev
Log:
Sorry, had a non-released version in my classpath. Reverting.

Modified:
    xmlgraphics/fop/trunk/src/java/org/apache/fop/pdf/TempFileStreamCache.java

Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/pdf/TempFileStreamCache.java
URL: http://svn.apache.org/viewcvs/xmlgraphics/fop/trunk/src/java/org/apache/fop/pdf/TempFileStreamCache.java?rev=234272&r1=234271&r2=234272&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/pdf/TempFileStreamCache.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/pdf/TempFileStreamCache.java Sun Aug 21
10:08:10 2005
@@ -25,7 +25,7 @@
 import java.io.File;
 
 //Commons
-import org.apache.commons.io.IOUtils;
+import org.apache.commons.io.CopyUtils;
 
 /**
  * StreamCache implementation that uses temporary files rather than heap.
@@ -92,7 +92,7 @@
 
         // don't need a buffer because streamCopy is buffered
         InputStream input = new java.io.FileInputStream(tempFile);
-        final long bytesCopied = IOUtils.copy(input, out);
+        final long bytesCopied = CopyUtils.copy(input, out);
         input.close();
         return (int)bytesCopied;
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org


Mime
View raw message