fix toString(), accidentally removed

This commit is contained in:
benfry
2009-04-03 21:28:08 +00:00
parent 2993a36bc6
commit eee80e6e9c
+5
View File
@@ -1335,6 +1335,11 @@ public class XMLElement implements Serializable {
}
public String toString() {
return toString(true);
}
public String toString(boolean pretty) {
ByteArrayOutputStream baos = new ByteArrayOutputStream();
OutputStreamWriter osw = new OutputStreamWriter(baos);