Changed write to static function

This commit is contained in:
Ziver Koc 2015-08-20 14:19:09 +00:00
parent e4dd9ee62d
commit 02b0838af3
2 changed files with 1 additions and 1 deletions

BIN
Zutil.jar

Binary file not shown.

View file

@ -127,7 +127,7 @@ public class JSONWriter{
/**
* @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();
JSONWriter writer = new JSONWriter(out);
writer.write(root);