pbwest      2004/04/15 22:17:00

  Modified:    src/java/org/apache/fop/fo Tag: FOP_0-20-0_Alt-Design
                        FONode.java
  Log:
  Get logger through foTree
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.2.2.17  +4 -3      xml-fop/src/java/org/apache/fop/fo/FONode.java
  
  Index: FONode.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/fo/FONode.java,v
  retrieving revision 1.2.2.16
  retrieving revision 1.2.2.17
  diff -u -r1.2.2.16 -r1.2.2.17
  --- FONode.java       8 Mar 2004 20:42:53 -0000       1.2.2.16
  +++ FONode.java       16 Apr 2004 05:17:00 -0000      1.2.2.17
  @@ -24,7 +24,6 @@
   import java.util.logging.Logger;
   
   import org.apache.fop.apps.FOPException;
  -import org.apache.fop.apps.Fop;
   import org.apache.fop.datastructs.ROBitSet;
   import org.apache.fop.datastructs.SyncedNode;
   import org.apache.fop.datastructs.TreeException;
  @@ -53,7 +52,6 @@
       private static final String tag = "$Name$";
       private static final String revision = "$Revision$";
   
  -    protected Logger log = Logger.getLogger(Fop.fopPackage);
       /**
        * State flags: a bit set of states applicable during FO tree build.
        * N.B. States must be powers of 2.
  @@ -111,7 +109,9 @@
        * The FO Tree
        */
       protected final FOTree foTree;
  -    
  +
  +    protected final Logger log;
  +
       /** The buffer from which parser events are drawn. */
       protected final XmlEventReader xmlevents;
   
  @@ -207,6 +207,7 @@
       {
           super(parent, foTree);
           this.foTree = foTree;
  +        this.log = foTree.getLogger();
           this.type = type;
           this.stateFlags = stateFlags;
           this.sparsePropsMap = sparsePropsMap;
  
  
  

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

Reply via email to