You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by je...@apache.org on 2004/02/06 22:49:48 UTC

cvs commit: xml-fop/test/java/org/apache/fop/util ASCII85InputStreamTestCase.java

jeremias    2004/02/06 13:49:48

  Modified:    test/java/org/apache/fop/util
                        ASCII85InputStreamTestCase.java
  Log:
  Adapt to changes in Commons IO's APIs.
  
  Revision  Changes    Path
  1.2       +3 -3      xml-fop/test/java/org/apache/fop/util/ASCII85InputStreamTestCase.java
  
  Index: ASCII85InputStreamTestCase.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/test/java/org/apache/fop/util/ASCII85InputStreamTestCase.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ASCII85InputStreamTestCase.java	4 Jul 2003 20:50:28 -0000	1.1
  +++ ASCII85InputStreamTestCase.java	6 Feb 2004 21:49:48 -0000	1.2
  @@ -54,7 +54,7 @@
   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 @@
           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();
       }
  
  
  

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