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 gm...@apache.org on 2004/01/04 06:42:04 UTC
cvs commit: xml-fop/src/codegen properties.xsl
gmazza 2004/01/03 21:42:04
Modified: src/codegen properties.xsl
Log:
Fix to remove unnecessary imports of Constants interface.
Revision Changes Path
1.25 +6 -2 xml-fop/src/codegen/properties.xsl
Index: properties.xsl
===================================================================
RCS file: /home/cvs/xml-fop/src/codegen/properties.xsl,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- properties.xsl 31 Dec 2003 01:41:46 -0000 1.24
+++ properties.xsl 4 Jan 2004 05:42:03 -0000 1.25
@@ -311,7 +311,7 @@
<redirect:write select="concat($classname, '.java')">
<xsl:text>package org.apache.fop.fo.properties;
-import org.apache.fop.fo.Constants;
+
</xsl:text>
<xsl:if test=".//keyword-equiv or ./name[.='generic-color']">
<xsl:text>
@@ -338,6 +338,10 @@
<xsl:text>
import org.apache.fop.apps.FOPException;</xsl:text>
</xsl:if>
+ <xsl:if test=".//enumeration and @type='generic'">
+ <xsl:text>
+import org.apache.fop.fo.Constants;</xsl:text>
+</xsl:if>
<xsl:text>
public class </xsl:text>
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-cvs-help@xml.apache.org