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 bc...@apache.org on 2004/10/19 23:49:43 UTC

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

bckfnn      2004/10/19 14:49:43

  Modified:    src/java/org/apache/fop/fo PropertyManager.java
  Log:
  Third phase of performance improvement.
  - Use new CommonAbsolutePosition.
  PR: 31699
  
  Revision  Changes    Path
  1.37      +1 -7      xml-fop/src/java/org/apache/fop/fo/PropertyManager.java
  
  Index: PropertyManager.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/fo/PropertyManager.java,v
  retrieving revision 1.36
  retrieving revision 1.37
  diff -u -r1.36 -r1.37
  --- PropertyManager.java	22 Sep 2004 19:21:10 -0000	1.36
  +++ PropertyManager.java	19 Oct 2004 21:49:43 -0000	1.37
  @@ -380,13 +380,7 @@
        * @return a AbsolutePositionProps object
        */
       public CommonAbsolutePosition getAbsolutePositionProps() {
  -        CommonAbsolutePosition props = new CommonAbsolutePosition();
  -        props.absolutePosition =
  -          this.propertyList.get(PR_ABSOLUTE_POSITION).getEnum();
  -        props.top = this.propertyList.get(PR_TOP).getLength().getValue();
  -        props.bottom = this.propertyList.get(PR_BOTTOM).getLength().getValue();
  -        props.left = this.propertyList.get(PR_LEFT).getLength().getValue();
  -        props.right = this.propertyList.get(PR_RIGHT).getLength().getValue();
  +        CommonAbsolutePosition props = new CommonAbsolutePosition(propertyList);
           return props;
       }
   
  
  
  

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