From ad518cf27f62d26e71e5a56e994d34151618293e Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Mon, 1 Dec 2008 15:30:59 +0000 Subject: [PATCH] Reverting a change introduced by revision 721430 which breaks extensions causing a "NoSuchFieldError: foObjs". git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@722092 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/fo/ElementMapping.java | 7 ++++--- 1 file 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 = ""; /** 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(); } -- 2.39.5