Browse Source

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
tags/fop-1_0
Jeremias Maerki 15 years ago
parent
commit
ad518cf27f
1 changed files with 4 additions and 3 deletions
  1. 4
    3
      src/java/org/apache/fop/fo/ElementMapping.java

+ 4
- 3
src/java/org/apache/fop/fo/ElementMapping.java View File

@@ -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();
}

Loading…
Cancel
Save