]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
toString() a little more compact.
authorJeremias Maerki <jeremias@apache.org>
Thu, 13 Oct 2005 17:33:32 +0000 (17:33 +0000)
committerJeremias Maerki <jeremias@apache.org>
Thu, 13 Oct 2005 17:33:32 +0000 (17:33 +0000)
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

index 587caf8566c0dc0f9368bbe439f97a36954e500c..34bfa579c4c67f906032f8441ef29262c1a47523 100644 (file)
@@ -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()) + "]";
     }    
 
     /**