From e5edb89a595ef0c592d154629162a647d7377dc7 Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Wed, 12 Jan 2011 19:58:50 +0000 Subject: [PATCH] Restored compatibility with third-party extensions. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1058295 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/fo/ElementMapping.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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(); } -- 2.39.5