bckfnn 2004/09/07 05:19:48 Modified: src/java/org/apache/fop/fo/expr NumericProperty.java Log: Return a more 'length' like debug string for numerics with dimension of 1. Revision Changes Path 1.6 +5 -1 xml-fop/src/java/org/apache/fop/fo/expr/NumericProperty.java Index: NumericProperty.java =================================================================== RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/fo/expr/NumericProperty.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- NumericProperty.java 27 Feb 2004 17:42:54 -0000 1.5 +++ NumericProperty.java 7 Sep 2004 12:19:48 -0000 1.6 @@ -128,6 +128,10 @@ * debugging. */ public String toString() { - return value + "^" + dim; + if (dim == 1) { + return (int) value + "mpt"; + } else { + return value + "^" + dim; + } } }
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]