xmlgraphics-fop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerem...@apache.org
Subject svn commit: r320819 - /xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/properties/CondLengthProperty.java
Date Thu, 13 Oct 2005 17:33:35 GMT
Author: jeremias
Date: Thu Oct 13 10:33:32 2005
New Revision: 320819

URL: http://svn.apache.org/viewcvs?rev=320819&view=rev
Log:
toString() a little more compact.

Modified:
    xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/properties/CondLengthProperty.java

Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/properties/CondLengthProperty.java
URL: http://svn.apache.org/viewcvs/xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/properties/CondLengthProperty.java?rev=320819&r1=320818&r2=320819&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/properties/CondLengthProperty.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/properties/CondLengthProperty.java Thu
Oct 13 10:33:32 2005
@@ -134,7 +134,9 @@
     /** @see java.lang.Object#toString() */
     public String toString() {
         return "CondLength[" + length.getObject().toString() 
-                + ", conditionality:" + conditionality + "]";
+                + ", " + (isDiscard() 
+                        ? conditionality.toString().toLowerCase() 
+                        : conditionality.toString()) + "]";
     }    
 
     /**



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org


Mime
View raw message