diff options
author | Glen Mazza <gmazza@apache.org> | 2004-01-04 05:42:03 +0000 |
---|---|---|
committer | Glen Mazza <gmazza@apache.org> | 2004-01-04 05:42:03 +0000 |
commit | df8d4c2df81a59b21fe685a3162ed43f71d731c6 (patch) | |
tree | e2fb64be7e03097d8b20ebdfe3e1278df17c18f5 /src/codegen | |
parent | 5997aec0171a4b7b4ffe34f23cd611215f3e8acf (diff) | |
download | xmlgraphics-fop-df8d4c2df81a59b21fe685a3162ed43f71d731c6.tar.gz xmlgraphics-fop-df8d4c2df81a59b21fe685a3162ed43f71d731c6.zip |
Fix to remove unnecessary imports of Constants interface.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197109 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/codegen')
-rw-r--r-- | src/codegen/properties.xsl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/codegen/properties.xsl b/src/codegen/properties.xsl index afe8af966..73c9cdedc 100644 --- a/src/codegen/properties.xsl +++ b/src/codegen/properties.xsl @@ -311,7 +311,7 @@ Software Foundation, please see <http://www.apache.org/>. <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 @@ import org.apache.fop.fo.*;</xsl:text> <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> |