aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/util
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2005-11-14 12:55:46 +0000
committerJeremias Maerki <jeremias@apache.org>2005-11-14 12:55:46 +0000
commit18536029a6533a850dd1508f938b0ad20f1a0e72 (patch)
treece799e9527fc49e4bbb527c125920591b545c939 /src/java/org/apache/fop/util
parentf848d591de7458a04b111d243935b08bbd47c5fd (diff)
downloadxmlgraphics-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/java/org/apache/fop/util')
-rw-r--r--src/java/org/apache/fop/util/ASCII85InputStream.java3
-rw-r--r--src/java/org/apache/fop/util/ASCII85OutputStream.java1
-rw-r--r--src/java/org/apache/fop/util/CloseBlockerOutputStream.java1
3 files changed, 0 insertions, 5 deletions
diff --git a/src/java/org/apache/fop/util/ASCII85InputStream.java b/src/java/org/apache/fop/util/ASCII85InputStream.java
index 7e6e57821..d9b3fae91 100644
--- a/src/java/org/apache/fop/util/ASCII85InputStream.java
+++ b/src/java/org/apache/fop/util/ASCII85InputStream.java
@@ -31,7 +31,6 @@ import java.io.IOException;
* The filter is described in chapter 3.13.3 of the PostScript Language
* Reference (third edition).
*
- * @author <a href="mailto:jeremias@apache.org">Jeremias Maerki</a>
* @version $Id$
*/
public class ASCII85InputStream extends InputStream
@@ -119,7 +118,6 @@ public class ASCII85InputStream extends InputStream
} else {
int cIndex = 0;
tuple = (buf - START) * POW85[cIndex];
- //System.out.println(cIndex + ": " + Long.toHexString(tuple));
cIndex++;
while (cIndex < 5) {
buf = filteredRead();
@@ -131,7 +129,6 @@ public class ASCII85InputStream extends InputStream
throw new IOException("Illegal 'z' within tuple");
} else {
tuple += (buf - START) * POW85[cIndex];
- //System.out.println(cIndex + ": " + Long.toHexString(tuple));
cIndex++;
}
}
diff --git a/src/java/org/apache/fop/util/ASCII85OutputStream.java b/src/java/org/apache/fop/util/ASCII85OutputStream.java
index 49a3f5239..02bc613dc 100644
--- a/src/java/org/apache/fop/util/ASCII85OutputStream.java
+++ b/src/java/org/apache/fop/util/ASCII85OutputStream.java
@@ -25,7 +25,6 @@ import java.io.IOException;
/**
* This class applies a ASCII85 encoding to the stream.
*
- * @author <a href="mailto:jeremias@apache.org">Jeremias Maerki</a>
* @version $Id$
*/
public class ASCII85OutputStream extends FilterOutputStream
diff --git a/src/java/org/apache/fop/util/CloseBlockerOutputStream.java b/src/java/org/apache/fop/util/CloseBlockerOutputStream.java
index d977ef19a..8417d7eaa 100644
--- a/src/java/org/apache/fop/util/CloseBlockerOutputStream.java
+++ b/src/java/org/apache/fop/util/CloseBlockerOutputStream.java
@@ -38,7 +38,6 @@ public class CloseBlockerOutputStream extends FilterOutputStream {
* @see java.io.OutputStream#close()
*/
public void close() throws IOException {
- //System.out.println("Not sending close() to " + out);
try {
flush();
} catch (IOException ioe) {