]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Removed unused setParserFeatures.
authorPeter Bernard West <pbwest@apache.org>
Mon, 5 Jan 2004 02:24:04 +0000 (02:24 +0000)
committerPeter Bernard West <pbwest@apache.org>
Mon, 5 Jan 2004 02:24:04 +0000 (02:24 +0000)
Removed redundant throws exception clause.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP_0-20-0_Alt-Design@197124 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/apps/Driver.java

index eddb85a4badd98df06f621dc76b907a5d502ab0d..b49a44265de53f95b0fb614b85d87c626254d451 100644 (file)
@@ -95,7 +95,7 @@ public class Driver {
     /**
      * Error handling, version and logging initialization.
      */
-    public Driver() throws FOPException {
+    public Driver() {
         _errorDump =
                 Configuration.getBooleanValue("debugMode").booleanValue();
         String version = Version.getVersion();
@@ -135,7 +135,8 @@ public class Driver {
         setInputHandler(Options.getInputHandler());
         parser = inputHandler.getParser();
         source = inputHandler.getInputSource();
-        setParserFeatures(parser);
+        // Setting of namespace-prefixes feature no longer required
+        //setParserFeatures(parser);
 
         xmlevents = new SyncedFoXmlEventsBuffer();
         xmlhandler = new FoXMLSerialHandler(xmlevents, parser, source);
@@ -197,11 +198,10 @@ public class Driver {
      * @param parser the XMLReader used to parse the input
      * @throws FOPException
      */
+    /*
     public void setParserFeatures(XMLReader parser) throws FOPException {
-        /*
-                       Setting of namespaces-prefixes feature removed.
-        */
     }
+    */
 
     /**
      * Prints stack trace of an exception