aboutsummaryrefslogtreecommitdiffstats
path: root/src/java
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2008-12-01 15:30:59 +0000
committerJeremias Maerki <jeremias@apache.org>2008-12-01 15:30:59 +0000
commitad518cf27f62d26e71e5a56e994d34151618293e (patch)
tree2e7a8626ef6bd4bc48f529c524841f69f7df92c0 /src/java
parent635e2238df2084d2921e92b2c5437b3271bc6bd1 (diff)
downloadxmlgraphics-fop-ad518cf27f62d26e71e5a56e994d34151618293e.tar.gz
xmlgraphics-fop-ad518cf27f62d26e71e5a56e994d34151618293e.zip
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
Diffstat (limited to 'src/java')
-rw-r--r--src/java/org/apache/fop/fo/ElementMapping.java7
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();
}