aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2005-10-13 17:33:32 +0000
committerJeremias Maerki <jeremias@apache.org>2005-10-13 17:33:32 +0000
commit994f3a21bd3ed4d299986a3a7b5a6ce8a60c0248 (patch)
treeed7c30a64a843258ca6b12719f5396ec2f065bec /src/java/org
parent650f15349f95b7d13165b1ba16b8807dbc361a7a (diff)
downloadxmlgraphics-fop-994f3a21bd3ed4d299986a3a7b5a6ce8a60c0248.tar.gz
xmlgraphics-fop-994f3a21bd3ed4d299986a3a7b5a6ce8a60c0248.zip
toString() a little more compact.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@320819 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org')
-rw-r--r--src/java/org/apache/fop/fo/properties/CondLengthProperty.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/fo/properties/CondLengthProperty.java b/src/java/org/apache/fop/fo/properties/CondLengthProperty.java
index 587caf856..34bfa579c 100644
--- a/src/java/org/apache/fop/fo/properties/CondLengthProperty.java
+++ b/src/java/org/apache/fop/fo/properties/CondLengthProperty.java
@@ -134,7 +134,9 @@ public class CondLengthProperty extends Property implements CompoundDatatype {
/** @see java.lang.Object#toString() */
public String toString() {
return "CondLength[" + length.getObject().toString()
- + ", conditionality:" + conditionality + "]";
+ + ", " + (isDiscard()
+ ? conditionality.toString().toLowerCase()
+ : conditionality.toString()) + "]";
}
/**