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/17 16:37:27 UTC

cvs commit: xml-fop/src/codegen prop-val-enum-interfaces.xsl

gmazza      2004/01/17 07:37:27

  Modified:    src/codegen prop-val-enum-interfaces.xsl
  Log:
  (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 { }
  
  Revision  Changes    Path
  1.2       +2 -5      xml-fop/src/codegen/prop-val-enum-interfaces.xsl
  
  Index: prop-val-enum-interfaces.xsl
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/codegen/prop-val-enum-interfaces.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- prop-val-enum-interfaces.xsl	22 Dec 2003 21:37:43 -0000	1.1
  +++ prop-val-enum-interfaces.xsl	17 Jan 2004 15:37:27 -0000	1.2
  @@ -92,7 +92,7 @@
         <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 @@
           <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>
  
  
  

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