aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGlen Mazza <gmazza@apache.org>2004-01-17 15:37:27 +0000
committerGlen Mazza <gmazza@apache.org>2004-01-17 15:37:27 +0000
commit506246bf703c01958f15461da26fc26e427438aa (patch)
treeb17dc34c95951f301f07e756753ba38809449324 /src
parent8eebf16fad2dd677255adb054cc4cab17dc3d7af (diff)
downloadxmlgraphics-fop-506246bf703c01958f15461da26fc26e427438aa.tar.gz
xmlgraphics-fop-506246bf703c01958f15461da26fc26e427438aa.zip
(Property Interface consolidation) Removed a redundancy in interface
definitions: from here (for several of the interfaces): public interface KeepWithNext { public interface WithinPage extends GenericKeep.Enums.WithinPage { } public interface WithinLine extends GenericKeep.Enums.WithinLine { } public interface WithinColumn extends GenericKeep.Enums.WithinColumn { } } to here: public interface KeepWithNext extends GenericKeep.Enums { } git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197211 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r--src/codegen/prop-val-enum-interfaces.xsl5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/codegen/prop-val-enum-interfaces.xsl b/src/codegen/prop-val-enum-interfaces.xsl
index 8f942f4d8..7109e786a 100644
--- a/src/codegen/prop-val-enum-interfaces.xsl
+++ b/src/codegen/prop-val-enum-interfaces.xsl
@@ -92,7 +92,7 @@ import org.apache.fop.fo.Constants;
<xsl:text>
public interface </xsl:text>
<xsl:value-of select="$classname"/>
- <xsl:if test="use-generic and $bEnum='true'">
+ <xsl:if test="use-generic">
<xsl:text> extends </xsl:text>
<xsl:value-of select="use-generic"/>
<xsl:text>.Enums</xsl:text>
@@ -106,9 +106,6 @@ import org.apache.fop.fo.Constants;
<xsl:value-of select="@const"/>
<xsl:text>;</xsl:text>
</xsl:for-each>
- <xsl:if test="contains($bSubpropEnum, 'true')">
- <xsl:call-template name="genSubpropEnum"/>
- </xsl:if>
<xsl:text> }
</xsl:text>
</redirect:write>