Explorar el Código

Get logger through foTree


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP_0-20-0_Alt-Design@197513 13f79535-47bb-0310-9956-ffa450edef68
tags/Defoe_export
Peter Bernard West hace 20 años
padre
commit
18169c3090
Se han modificado 1 ficheros con 4 adiciones y 3 borrados
  1. 4
    3
      src/java/org/apache/fop/fo/FONode.java

+ 4
- 3
src/java/org/apache/fop/fo/FONode.java Ver fichero

@@ -24,7 +24,6 @@ import java.util.Iterator;
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 @@ public class FONode extends SyncedNode{
private static final String tag = "$Name: $";
private static final String revision = "$Revision: 1.19.2.33 $";

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 @@ public class FONode extends SyncedNode{
* 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 @@ public class FONode extends SyncedNode{
{
super(parent, foTree);
this.foTree = foTree;
this.log = foTree.getLogger();
this.type = type;
this.stateFlags = stateFlags;
this.sparsePropsMap = sparsePropsMap;

Cargando…
Cancelar
Guardar