aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/fo/Property.java
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2002-08-07 16:54:58 +0000
committerJeremias Maerki <jeremias@apache.org>2002-08-07 16:54:58 +0000
commit1d750a74610958cfd33b5affcd1564cbb4626ae9 (patch)
tree93d6a1f480681c6fdae8ab081c44351d7e463683 /src/org/apache/fop/fo/Property.java
parente3b6e3da3b59435c6190cdec99ec1b3547186533 (diff)
downloadxmlgraphics-fop-1d750a74610958cfd33b5affcd1564cbb4626ae9.tar.gz
xmlgraphics-fop-1d750a74610958cfd33b5affcd1564cbb4626ae9.zip
First batch of changes for preparation for adoption of Avalon patterns. Only changes on logging for now. Mostly usage of LogEnabled contract interface. Separate mail follows.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195068 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org/apache/fop/fo/Property.java')
-rw-r--r--src/org/apache/fop/fo/Property.java16
1 files changed, 4 insertions, 12 deletions
diff --git a/src/org/apache/fop/fo/Property.java b/src/org/apache/fop/fo/Property.java
index 116c1daeb..3f038de80 100644
--- a/src/org/apache/fop/fo/Property.java
+++ b/src/org/apache/fop/fo/Property.java
@@ -15,8 +15,6 @@ import org.apache.fop.fo.expr.PropertyException;
import org.apache.fop.apps.FOPException;
import java.util.Vector;
-import org.apache.avalon.framework.logger.Logger;
-
public class Property {
public static class Maker {
@@ -132,7 +130,7 @@ public class Property {
return setSubprop(baseProp, partName, p);
}
} else {
- //log.error("compound property component "
+ //getLogger().error("compound property component "
// + partName + " unknown.");
}
return baseProp;
@@ -223,10 +221,10 @@ public class Property {
}
} catch (FOPException e) {
- //log.error("convertShorthandProperty caught FOPException "
+ //getLogger().error("convertShorthandProperty caught FOPException "
// + e);
} catch (org.apache.fop.fo.expr.PropertyException propEx) {
- //log.error("convertShorthandProperty caught PropertyException "
+ //getLogger().error("convertShorthandProperty caught PropertyException "
// + propEx);
}
if (pret != null) {
@@ -332,7 +330,7 @@ public class Property {
return make(propertyList, specVal,
propertyList.getParentFObj());
} catch (FOPException e) {
- //log.error("Error computing property value for "
+ //getLogger()error("Error computing property value for "
// + propName + " from "
// + specVal);
return null;
@@ -359,12 +357,6 @@ public class Property {
*/
private String specVal;
- protected Logger log;
-
- public void setLogger(Logger logger) {
- log = logger;
- }
-
/**
* Set the original value specified for the property attribute.
* @param specVal The specified value.