From f53181fd9465de68db0b07d72c73b37c4b6e0c0c Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Sun, 21 Aug 2005 17:08:10 +0000 Subject: [PATCH] Sorry, had a non-released version in my classpath. Reverting. 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/java/org/apache/fop/pdf/TempFileStreamCache.java b/src/java/org/apache/fop/pdf/TempFileStreamCache.java index 411d8d71d..86a790f43 100644 --- a/src/java/org/apache/fop/pdf/TempFileStreamCache.java +++ b/src/java/org/apache/fop/pdf/TempFileStreamCache.java @@ -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; } -- 2.39.5