diff options
author | Jeremias Maerki <jeremias@apache.org> | 2005-11-14 12:55:46 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2005-11-14 12:55:46 +0000 |
commit | 18536029a6533a850dd1508f938b0ad20f1a0e72 (patch) | |
tree | ce799e9527fc49e4bbb527c125920591b545c939 /src/sandbox | |
parent | f848d591de7458a04b111d243935b08bbd47c5fd (diff) | |
download | xmlgraphics-fop-18536029a6533a850dd1508f938b0ad20f1a0e72.tar.gz xmlgraphics-fop-18536029a6533a850dd1508f938b0ad20f1a0e72.zip |
Updated from Jakarta Commons IO 1.0 to 1.1. CopyUtils.copy() becomes IOUtils.copy() again. CopyUtils in 1.0 was not ideal design decision.
Fixed most of the unappropriate System.err/System.out/Exception.printStackTrace(). Those that aren't fixed and are not legitimate calls (in main() methods etc.) are marked with a TODO item.
Some Javadocs and style updates.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@344111 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/sandbox')
-rw-r--r-- | src/sandbox/org/apache/fop/render/pcl/PCLRenderer.java | 2 | ||||
-rw-r--r-- | src/sandbox/org/apache/fop/render/pcl/PCLStream.java | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/sandbox/org/apache/fop/render/pcl/PCLRenderer.java b/src/sandbox/org/apache/fop/render/pcl/PCLRenderer.java index f322d2679..21048b374 100644 --- a/src/sandbox/org/apache/fop/render/pcl/PCLRenderer.java +++ b/src/sandbox/org/apache/fop/render/pcl/PCLRenderer.java @@ -69,7 +69,7 @@ public class PCLRenderer extends PrintRenderer { try { fontcode = Integer.parseInt(name.substring(1)); } catch (Exception e) { - e.printStackTrace(); + log.error(e); } } switch (fontcode) { diff --git a/src/sandbox/org/apache/fop/render/pcl/PCLStream.java b/src/sandbox/org/apache/fop/render/pcl/PCLStream.java index 0ad8096cc..34150f16a 100644 --- a/src/sandbox/org/apache/fop/render/pcl/PCLStream.java +++ b/src/sandbox/org/apache/fop/render/pcl/PCLStream.java @@ -44,8 +44,6 @@ public class PCLStream { try { out.write(buff); } catch (IOException e) { - // e.printStackTrace(); - // e.printStackTrace(System.out); throw new RuntimeException(e.toString()); } } |