git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@234272
13f79535-47bb-0310-9956-
ffa450edef68
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.
// 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;
}