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 ge...@locus.apache.org on 2000/12/04 21:10:38 UTC

cvs commit: xml-fop/src/org/apache/fop/fo/flow TableRow.java

gears       00/12/04 12:10:36

  Modified:    src/org/apache/fop/datatypes Length.java
               src/org/apache/fop/fo NumberProperty.java
               src/org/apache/fop/fo/flow TableRow.java
  Log:
  Mikko Honkala's fix to allow JDK 1.1 users to compile and use FOP.
  
  Revision  Changes    Path
  1.10      +2 -3      xml-fop/src/org/apache/fop/datatypes/Length.java
  
  Index: Length.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/datatypes/Length.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- Length.java	2000/11/10 22:29:23	1.9
  +++ Length.java	2000/12/04 20:10:20	1.10
  @@ -1,4 +1,4 @@
  -/*-- $Id: Length.java,v 1.9 2000/11/10 22:29:23 klease Exp $ -- 
  +/*-- $Id: Length.java,v 1.10 2000/12/04 20:10:20 gears Exp $ -- 
   
    ============================================================================
                      The Apache Software License, Version 1.1
  @@ -57,10 +57,9 @@
    * a length quantity in XSL
    */
   public class Length {
  -  public static final Length AUTO ;
  +  public static final Length AUTO = new Length(0);
   
     static {
  -    AUTO = new Length(0);
       AUTO.bAuto = true;
     }
   
  
  
  
  1.2       +2 -2      xml-fop/src/org/apache/fop/fo/NumberProperty.java
  
  Index: NumberProperty.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/fo/NumberProperty.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- NumberProperty.java	2000/11/10 22:02:13	1.1
  +++ NumberProperty.java	2000/12/04 20:10:28	1.2
  @@ -1,4 +1,4 @@
  -/*-- $Id: NumberProperty.java,v 1.1 2000/11/10 22:02:13 klease Exp $ -- 
  +/*-- $Id: NumberProperty.java,v 1.2 2000/12/04 20:10:28 gears Exp $ -- 
   
    ============================================================================
                      The Apache Software License, Version 1.1
  @@ -72,7 +72,7 @@
       }
     }
   
  -  private final Number number;
  +  private Number number;
   
     public NumberProperty(Number number) {
       this.number = number;
  
  
  
  1.23      +2 -2      xml-fop/src/org/apache/fop/fo/flow/TableRow.java
  
  Index: TableRow.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/fo/flow/TableRow.java,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- TableRow.java	2000/11/29 21:24:13	1.22
  +++ TableRow.java	2000/12/04 20:10:33	1.23
  @@ -1,4 +1,4 @@
  -/*-- $Id: TableRow.java,v 1.22 2000/11/29 21:24:13 gears Exp $ -- 
  +/*-- $Id: TableRow.java,v 1.23 2000/12/04 20:10:33 gears Exp $ -- 
   
    ============================================================================
                      The Apache Software License, Version 1.1
  @@ -347,7 +347,7 @@
   					
   				CellState state = new CellState( i, false, cumulativeWidth );
   					// add the state of a cell.
  -				cells.add( i, state );
  +				cells.insertElementAt( state,i);
   					// cumulative width, i.e start offset of cell
   					// also known as widthOfCellSoFar...
   				cumulativeWidth += width;