From d3cd1774f44d017fe4456ac79dc89dc3e17b70ec Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Sat, 12 Nov 2005 16:01:52 +0000 Subject: [PATCH] Use memory-optimized ByteArrayOutputStream from Commons IO instead of the dumb implementation from the JDK. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@332793 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/servlet/FopServlet.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/org/apache/fop/servlet/FopServlet.java b/src/java/org/apache/fop/servlet/FopServlet.java index 79649d0b0..a5d8612d7 100644 --- a/src/java/org/apache/fop/servlet/FopServlet.java +++ b/src/java/org/apache/fop/servlet/FopServlet.java @@ -18,7 +18,6 @@ package org.apache.fop.servlet; -import java.io.ByteArrayOutputStream; import java.io.File; import java.io.PrintWriter; @@ -34,6 +33,7 @@ import javax.xml.transform.TransformerFactory; import javax.xml.transform.sax.SAXResult; import javax.xml.transform.stream.StreamSource; +import org.apache.commons.io.output.ByteArrayOutputStream; import org.apache.commons.logging.impl.SimpleLog; //FOP -- 2.39.5