diff options
author | Jeremias Maerki <jeremias@apache.org> | 2005-09-05 19:20:32 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2005-09-05 19:20:32 +0000 |
commit | e442b9af8d99c723914f7f181534acf3fe337ccb (patch) | |
tree | d3387fa4ec5ae354776221bb00b767899943c052 /src/java/org | |
parent | 8bb9b2bd62a760eb2b824b070f07a8cd2696cdce (diff) | |
download | xmlgraphics-fop-e442b9af8d99c723914f7f181534acf3fe337ccb.tar.gz xmlgraphics-fop-e442b9af8d99c723914f7f181534acf3fe337ccb.zip |
Fixes a compile error. I used a method from a SVN checkout of Commons IO. Sorry.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@278816 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org')
-rw-r--r-- | src/java/org/apache/fop/render/ps/PSFontUtils.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/render/ps/PSFontUtils.java b/src/java/org/apache/fop/render/ps/PSFontUtils.java index 8bcd0c413..867f1657e 100644 --- a/src/java/org/apache/fop/render/ps/PSFontUtils.java +++ b/src/java/org/apache/fop/render/ps/PSFontUtils.java @@ -29,8 +29,8 @@ import java.util.Map; import javax.xml.transform.Source; import javax.xml.transform.stream.StreamSource; +import org.apache.commons.io.CopyUtils; import org.apache.commons.io.EndianUtils; -import org.apache.commons.io.IOUtils; import org.apache.fop.fonts.CustomFont; import org.apache.fop.fonts.FontInfo; import org.apache.fop.fonts.FontType; @@ -163,7 +163,7 @@ public class PSFontUtils { SubInputStream sin = new SubInputStream(in, dataSegLen); ASCIIHexOutputStream hexOut = new ASCIIHexOutputStream(gen.getOutputStream()); - IOUtils.copy(sin, hexOut); + CopyUtils.copy(sin, hexOut); gen.newLine(); break; case 3: //EOF |