Browse Source

Re-enable toString() for the properties which wrap another object.


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197316 13f79535-47bb-0310-9956-ffa450edef68
pull/30/head
Finn Bock 20 years ago
parent
commit
8168c2009a
1 changed files with 5 additions and 1 deletions
  1. 5
    1
      src/java/org/apache/fop/fo/properties/Property.java

+ 5
- 1
src/java/org/apache/fop/fo/properties/Property.java View File

@@ -212,6 +212,10 @@ public class Property {
* for debugging.
*/
public String toString() {
return getString();
Object obj = getObject();
if (obj != this) {
return obj.toString();
}
return null;
}
}

Loading…
Cancel
Save