diff options
author | Jeremias Maerki <jeremias@apache.org> | 2003-02-14 11:18:26 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2003-02-14 11:18:26 +0000 |
commit | 4104b6ae4bd465b13509e3d1b73f374ee009f778 (patch) | |
tree | 09aa816c6938a8dffe6aecc4d7849b9e930c6dc4 /src/org/apache/fop | |
parent | 9b7ec9ab933679b4354439da8c5bfaf9fda9c4c2 (diff) | |
download | xmlgraphics-fop-4104b6ae4bd465b13509e3d1b73f374ee009f778.tar.gz xmlgraphics-fop-4104b6ae4bd465b13509e3d1b73f374ee009f778.zip |
Use Map instead of HashMap interface
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195952 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org/apache/fop')
-rw-r--r-- | src/org/apache/fop/render/AbstractRenderer.java | 8 | ||||
-rw-r--r-- | src/org/apache/fop/render/Renderer.java | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/org/apache/fop/render/AbstractRenderer.java b/src/org/apache/fop/render/AbstractRenderer.java index 4c0823b1a..9a49e841f 100644 --- a/src/org/apache/fop/render/AbstractRenderer.java +++ b/src/org/apache/fop/render/AbstractRenderer.java @@ -1,6 +1,6 @@ /* * $Id$ - * Copyright (C) 2001-2002 The Apache Software Foundation. All rights reserved. + * Copyright (C) 2001-2003 The Apache Software Foundation. All rights reserved. * For details on use and redistribution please refer to the * LICENSE file included with these sources. */ @@ -9,7 +9,7 @@ package org.apache.fop.render; // Java import java.awt.geom.Rectangle2D; import java.io.IOException; -import java.util.HashMap; +import java.util.Map; import java.util.List; import java.util.Iterator; @@ -66,7 +66,7 @@ public abstract class AbstractRenderer extends AbstractLogEnabled /** * renderer configuration */ - protected HashMap options; + protected Map options; /** * block progression position @@ -109,7 +109,7 @@ public abstract class AbstractRenderer extends AbstractLogEnabled } /** @see org.apache.fop.render.Renderer */ - public void setOptions(HashMap opt) { + public void setOptions(Map opt) { options = opt; } diff --git a/src/org/apache/fop/render/Renderer.java b/src/org/apache/fop/render/Renderer.java index 2fe1a3f0c..b7aa9c014 100644 --- a/src/org/apache/fop/render/Renderer.java +++ b/src/org/apache/fop/render/Renderer.java @@ -9,7 +9,7 @@ package org.apache.fop.render; // Java import java.io.OutputStream; import java.io.IOException; -import java.util.HashMap; +import java.util.Map; // FOP import org.apache.fop.apps.FOPException; @@ -86,7 +86,7 @@ public interface Renderer { * * @param options The Configuration for the renderer */ - void setOptions(HashMap options); + void setOptions(Map options); /** * Set the producer of the rendering. If this method isn't called the |