Author: jeremias
Date: Wed Jan 7 23:59:58 2009
New Revision: 732631
URL: http://svn.apache.org/viewvc?rev=732631&view=rev
Log:
Removed code that doesn't have any effect.
Modified:
xmlgraphics/fop/trunk/src/java/org/apache/fop/servlet/FopServlet.java
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/servlet/FopServlet.java
URL:
http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/servlet/FopServlet.java?rev=732631&r1=732630&r2=732631&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/servlet/FopServlet.java
(original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/servlet/FopServlet.java Wed
Jan 7 23:59:58 2009
@@ -37,11 +37,10 @@
import javax.xml.transform.stream.StreamSource;
import org.apache.commons.io.output.ByteArrayOutputStream;
-import org.apache.commons.logging.impl.SimpleLog;
+import org.apache.fop.apps.FOPException;
import org.apache.fop.apps.FOUserAgent;
import org.apache.fop.apps.Fop;
-import org.apache.fop.apps.FOPException;
import org.apache.fop.apps.FopFactory;
import org.apache.fop.apps.MimeConstants;
@@ -78,8 +77,6 @@
/** Name of the parameter used for the XSLT file */
protected static final String XSLT_REQUEST_PARAM = "xslt";
- /** Logger to give to FOP */
- protected SimpleLog log = null;
/** The TransformerFactory used to create Transformer instances */
protected TransformerFactory transFactory = null;
/** The FopFactory used to create Fop instances */
@@ -91,8 +88,6 @@
* {...@inheritdoc}
*/
public void init() throws ServletException {
- this.log = new SimpleLog("FOP/Servlet");
- log.setLevel(SimpleLog.LOG_LEVEL_WARN);
this.uriResolver = new ServletContextURIResolver(getServletContext());
this.transFactory = TransformerFactory.newInstance();
this.transFactory.setURIResolver(this.uriResolver);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]