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 pb...@apache.org on 2002/06/09 12:25:29 UTC
cvs commit: xml-fop/src/org/apache/fop/fo FOTree.java
pbwest 2002/06/09 03:25:29
Modified: src/org/apache/fop/fo Tag: FOP_0-20-0_Alt-Design FOTree.java
Log:
Part of migration of propertyStacks into FOTree
Revision Changes Path
No revision
No revision
1.1.2.2 +5 -7 xml-fop/src/org/apache/fop/fo/Attic/FOTree.java
Index: FOTree.java
===================================================================
RCS file: /home/cvs/xml-fop/src/org/apache/fop/fo/Attic/FOTree.java,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -r1.1.2.1 -r1.1.2.2
--- FOTree.java 7 May 2002 05:17:52 -0000 1.1.2.1
+++ FOTree.java 9 Jun 2002 10:25:29 -0000 1.1.2.2
@@ -37,7 +37,7 @@
* Created: Thu Aug 2 20:29:57 2001
*
* @author <a href="mailto:pbwest@powerup.com.au">Peter B. West</a>
- * @version $Id: FOTree.java,v 1.1.2.1 2002/05/07 05:17:52 pbwest Exp $
+ * @version $Id: FOTree.java,v 1.1.2.2 2002/06/09 10:25:29 pbwest Exp $
*/
/**
* <tt>FOTree</tt> is the class that generates and maintains the FO Tree.
@@ -69,12 +69,7 @@
* <p>
* LinkedList is part of the 1.2 Collections framework.
*/
- protected static final LinkedList[] propertyStacks;
- static {
- propertyStacks = new LinkedList[PropNames.LAST_PROPERTY_INDEX + 1];
- for (int i = 0; i <= PropNames.LAST_PROPERTY_INDEX; i++)
- propertyStacks[i] = new LinkedList();
- }
+ protected final LinkedList[] propertyStacks;
/**
* @param xmlevents the buffer from which <tt>XMLEvent</tt>s from the
@@ -87,6 +82,9 @@
exprParser = new PropertyParser();
// Initialise the propertyStacks
+ propertyStacks = new LinkedList[PropNames.LAST_PROPERTY_INDEX + 1];
+ for (int i = 0; i <= PropNames.LAST_PROPERTY_INDEX; i++)
+ propertyStacks[i] = new LinkedList();
// Initialize the FontSize first. Any lengths defined in ems must
// be resolved relative to the current font size. This may happen
// during setup of initial values.
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-cvs-help@xml.apache.org