Browse Source

Restored compatibility with third-party extensions.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1058295 13f79535-47bb-0310-9956-ffa450edef68
tags/fop-1_1rc1old
Jeremias Maerki 13 years ago
parent
commit
e5edb89a59
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      src/java/org/apache/fop/fo/ElementMapping.java

+ 3
- 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,7 @@ public abstract class ElementMapping {
public static final String DEFAULT = "<default>";

/** The HashMap table of formatting objects defined by the ElementMapping */
protected Map<String, Maker> foObjs = null;
protected HashMap<String, Maker> 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<String, Maker> getTable() {
public HashMap<String, Maker> getTable() {
if (foObjs == null) {
initialize();
}

Loading…
Cancel
Save