diff options
author | Jeremias Maerki <jeremias@apache.org> | 2004-02-06 21:49:48 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2004-02-06 21:49:48 +0000 |
commit | d1699f53b71bf38df92430ed019f327156341840 (patch) | |
tree | fe14e92249cdff8897b0aa197182763518d6d407 /test | |
parent | e7203e225ba835ba7bd79008d6e36062c335698d (diff) | |
download | xmlgraphics-fop-d1699f53b71bf38df92430ed019f327156341840.tar.gz xmlgraphics-fop-d1699f53b71bf38df92430ed019f327156341840.zip |
Adapt to changes in Commons IO's APIs.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197334 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test')
-rw-r--r-- | test/java/org/apache/fop/util/ASCII85InputStreamTestCase.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/java/org/apache/fop/util/ASCII85InputStreamTestCase.java b/test/java/org/apache/fop/util/ASCII85InputStreamTestCase.java index 33387894e..df7259d58 100644 --- a/test/java/org/apache/fop/util/ASCII85InputStreamTestCase.java +++ b/test/java/org/apache/fop/util/ASCII85InputStreamTestCase.java @@ -54,7 +54,7 @@ import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; -import org.apache.commons.io.IOUtil; +import org.apache.commons.io.CopyUtils; import org.apache.commons.io.output.ByteArrayOutputStream; import org.apache.fop.pdf.PDFText; @@ -85,7 +85,7 @@ public class ASCII85InputStreamTestCase extends TestCase { InputStream in = new ByteArrayInputStream(ascii85); InputStream decoder = new ASCII85InputStream(in); ByteArrayOutputStream baout = new ByteArrayOutputStream(); - IOUtil.copy(decoder, baout); + CopyUtils.copy(decoder, baout); baout.close(); return baout.toByteArray(); } |