diff options
Diffstat (limited to 'src/java')
-rw-r--r-- | src/java/org/apache/fop/fo/ElementMapping.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/java/org/apache/fop/fo/ElementMapping.java b/src/java/org/apache/fop/fo/ElementMapping.java index 9e9bb6c59..1651f23a6 100644 --- a/src/java/org/apache/fop/fo/ElementMapping.java +++ b/src/java/org/apache/fop/fo/ElementMapping.java @@ -19,7 +19,7 @@ package org.apache.fop.fo; -import java.util.Map; +import java.util.HashMap; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.parsers.ParserConfigurationException; @@ -38,7 +38,8 @@ public abstract class ElementMapping { public static final String DEFAULT = "<default>"; /** The HashMap table of formatting objects defined by the ElementMapping */ - protected Map foObjs = null; + protected HashMap foObjs = null; + //Please don't change that to java.util.Map as that can break extensions. /** The namespace for the ElementMapping */ protected String namespaceURI = null; @@ -48,7 +49,7 @@ public abstract class ElementMapping { * * @return Table of Maker objects for this ElementMapping */ - public Map getTable() { + public HashMap getTable() { if (foObjs == null) { initialize(); } |