aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org')
-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();