pbwest      2002/09/17 22:52:58

  Modified:    src/org/apache/fop/datatypes Tag: FOP_0-20-0_Alt-Design
                        Inherit.java
  Log:
  Two-arg constructor made public.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.6   +5 -6      xml-fop/src/org/apache/fop/datatypes/Attic/Inherit.java
  
  Index: Inherit.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/datatypes/Attic/Inherit.java,v
  retrieving revision 1.1.2.5
  retrieving revision 1.1.2.6
  diff -u -r1.1.2.5 -r1.1.2.6
  --- Inherit.java      16 Sep 2002 05:35:07 -0000      1.1.2.5
  +++ Inherit.java      18 Sep 2002 05:52:58 -0000      1.1.2.6
  @@ -4,6 +4,7 @@
   import org.apache.fop.fo.expr.PropertyValue;
   import org.apache.fop.fo.expr.PropertyTriplet;
   import org.apache.fop.fo.Properties;
  +import org.apache.fop.fo.FONode;
   import org.apache.fop.datatypes.IndirectValue;
   
   /*
  @@ -31,15 +32,13 @@
   
       /**
        * Override the dual-property constructor of <tt>IndirectValue</tt>.
  -     * <i>'inherit'</i> cannot draw a value from a different property from
  -     * the one on which it was defined, so this constructor is private.
        * @param property the <tt>int</tt> index of the property on which
        * this value is being defined.
        * @param sourceProperty the <tt>int</tt> index of the property from
        * which the inherited value is derived.
        * @exception PropertyException
        */
  -    private Inherit(int property, int sourceProperty)
  +    public Inherit(int property, int sourceProperty)
           throws PropertyException
       {
           super(property, PropertyValue.INHERIT, sourceProperty);
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to