From 236827e0295e8ea0feb31eda094cdeba1f107e0b Mon Sep 17 00:00:00 2001 From: Peter Bernard West Date: Tue, 16 Jul 2002 13:58:09 +0000 Subject: [PATCH] Changed rendererOptions Hashtable to HashMap. Also changed differ and runTests to HashMap. 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 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/org/apache/fop/tools/TestConverter.java b/src/org/apache/fop/tools/TestConverter.java index f230474ca..a63e021f3 100644 --- a/src/org/apache/fop/tools/TestConverter.java +++ b/src/org/apache/fop/tools/TestConverter.java @@ -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); -- 2.39.5