Changed write to static function
This commit is contained in:
parent
e4dd9ee62d
commit
02b0838af3
2 changed files with 1 additions and 1 deletions
BIN
Zutil.jar
BIN
Zutil.jar
Binary file not shown.
|
|
@ -127,7 +127,7 @@ public class JSONWriter{
|
||||||
/**
|
/**
|
||||||
* @return JSON String that is generated from the input DataNode graph
|
* @return JSON String that is generated from the input DataNode graph
|
||||||
*/
|
*/
|
||||||
public String toString(DataNode root){
|
public static String toString(DataNode root){
|
||||||
StringOutputStream out = new StringOutputStream();
|
StringOutputStream out = new StringOutputStream();
|
||||||
JSONWriter writer = new JSONWriter(out);
|
JSONWriter writer = new JSONWriter(out);
|
||||||
writer.write(root);
|
writer.write(root);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue