]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Changed rendererOptions Hashtable to HashMap. Also changed differ and runTests to...
authorPeter Bernard West <pbwest@apache.org>
Tue, 16 Jul 2002 13:58:09 +0000 (13:58 +0000)
committerPeter Bernard West <pbwest@apache.org>
Tue, 16 Jul 2002 13:58:09 +0000 (13:58 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/fop-0_20_2-maintain@195000 13f79535-47bb-0310-9956-ffa450edef68

src/org/apache/fop/tools/TestConverter.java

index f230474ca56632cc9b25a425624583097e955197..a63e021f3b2c126c29a0b636211b867e68248fad 100644 (file)
@@ -44,7 +44,7 @@ public class TestConverter {
     File destdir;
     File compare = null;
     String baseDir = "./";
-    Hashtable differ = new Hashtable();
+    HashMap differ = new HashMap();
     private Logger log;
 
     /**
@@ -108,7 +108,7 @@ public class TestConverter {
      * This runs the tests specified in the xml file fname.
      * The document is read as a dom and each testcase is covered.
      */
-    public Hashtable runTests(String fname, String dest, String compDir) {
+    public HashMap runTests(String fname, String dest, String compDir) {
         log.debug("running tests in file:" + fname);
         try {
             if (compDir != null) {
@@ -237,7 +237,7 @@ public class TestConverter {
                 driver.setRenderer(Driver.RENDER_XML);
             }
 
-            Hashtable rendererOptions = new Hashtable();
+            HashMap rendererOptions = new HashMap();
             rendererOptions.put("fineDetail", new Boolean(false));
             rendererOptions.put("consistentOutput", new Boolean(true));
             driver.getRenderer().setOptions(rendererOptions);