You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by je...@apache.org on 2008/12/01 16:31:00 UTC

svn commit: r722092 - /xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/ElementMapping.java

Author: jeremias
Date: Mon Dec  1 07:30:59 2008
New Revision: 722092

URL: http://svn.apache.org/viewvc?rev=722092&view=rev
Log:
Reverting a change introduced by revision 721430 which breaks extensions causing a "NoSuchFieldError: foObjs".

Modified:
    xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/ElementMapping.java

Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/ElementMapping.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/ElementMapping.java?rev=722092&r1=722091&r2=722092&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/ElementMapping.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/ElementMapping.java Mon Dec  1 07:30:59 2008
@@ -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 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 @@
      *
      * @return Table of Maker objects for this ElementMapping
      */
-    public Map getTable() {
+    public HashMap getTable() {
         if (foObjs == null) {
             initialize();
         }



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org