From: Jeremias Maerki Date: Wed, 12 Jan 2011 19:58:50 +0000 (+0000) Subject: Restored compatibility with third-party extensions. X-Git-Tag: fop-1_1rc1old~374 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e5edb89a595ef0c592d154629162a647d7377dc7;p=xmlgraphics-fop.git Restored compatibility with third-party extensions. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1058295 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/fop/fo/ElementMapping.java b/src/java/org/apache/fop/fo/ElementMapping.java index 5417586e0..befb65eff 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,7 @@ public abstract class ElementMapping { public static final String 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 */ @@ -49,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(); }