aboutsummaryrefslogtreecommitdiffstats
path: root/src/java
diff options
context:
space:
mode:
authorGlen Mazza <gmazza@apache.org>2004-07-09 01:48:58 +0000
committerGlen Mazza <gmazza@apache.org>2004-07-09 01:48:58 +0000
commitf7ebe087cfc59cf9ff28e7f458e2e4f21f9770e9 (patch)
tree394b53b80334fc8293eb52c7e341bcc16ba1d1a2 /src/java
parent31845eac29f3bfc35c433df3b03f7f9236a3ef5f (diff)
downloadxmlgraphics-fop-f7ebe087cfc59cf9ff28e7f458e2e4f21f9770e9.tar.gz
xmlgraphics-fop-f7ebe087cfc59cf9ff28e7f458e2e4f21f9770e9.zip
Made Driver.initialize() private, more in line with 0.20.5, which doesn't
have such a method. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197773 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java')
-rw-r--r--src/java/org/apache/fop/apps/Driver.java2
-rw-r--r--src/java/org/apache/fop/servlet/FopServlet.java1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/apps/Driver.java b/src/java/org/apache/fop/apps/Driver.java
index 28ffdff8a..2cfd3447c 100644
--- a/src/java/org/apache/fop/apps/Driver.java
+++ b/src/java/org/apache/fop/apps/Driver.java
@@ -158,7 +158,7 @@ public class Driver implements Constants {
/**
* Initializes the Driver object.
*/
- public void initialize() {
+ private void initialize() {
if (isInitialized()) {
throw new IllegalStateException("Driver already initialized");
}
diff --git a/src/java/org/apache/fop/servlet/FopServlet.java b/src/java/org/apache/fop/servlet/FopServlet.java
index 566b17f4c..1d4223282 100644
--- a/src/java/org/apache/fop/servlet/FopServlet.java
+++ b/src/java/org/apache/fop/servlet/FopServlet.java
@@ -203,7 +203,6 @@ public class FopServlet extends HttpServlet {
//Setup FOP
Driver driver = new Driver();
driver.setRenderer(Driver.RENDER_PDF);
- driver.initialize();
//Setup output
ByteArrayOutputStream out = new ByteArrayOutputStream();