]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Sorry, had a non-released version in my classpath. Reverting.
authorJeremias Maerki <jeremias@apache.org>
Sun, 21 Aug 2005 17:08:10 +0000 (17:08 +0000)
committerJeremias Maerki <jeremias@apache.org>
Sun, 21 Aug 2005 17:08:10 +0000 (17:08 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@234272 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/pdf/TempFileStreamCache.java

index 411d8d71dcaf49c360aed1c9a1fc290bda646fbf..86a790f4312abf66c9ce8c34c301e653f7d8a6e7 100644 (file)
@@ -25,7 +25,7 @@ import java.io.IOException;
 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 @@ public class TempFileStreamCache implements StreamCache {
 
         // 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;
     }