From 994f3a21bd3ed4d299986a3a7b5a6ce8a60c0248 Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Thu, 13 Oct 2005 17:33:32 +0000 Subject: [PATCH] toString() a little more compact. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@320819 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/fo/properties/CondLengthProperty.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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()) + "]"; } /** -- 2.39.5