From 7ebe0db0a03df2c5a813a8f9c11141a81b91b2d8 Mon Sep 17 00:00:00 2001 From: hansonr Date: Thu, 28 Mar 2019 14:55:39 -0400 Subject: [PATCH] #211 corrects swingjs.JSUtil.parseJSONRaw$S call --- src/jalview/javascript/json/JSON.java | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/jalview/javascript/json/JSON.java b/src/jalview/javascript/json/JSON.java index 57ab8c8..8ea781f 100644 --- a/src/jalview/javascript/json/JSON.java +++ b/src/jalview/javascript/json/JSON.java @@ -1,14 +1,9 @@ package jalview.javascript.json; import java.io.BufferedReader; -import java.io.IOException; import java.io.InputStream; import java.io.Reader; import java.net.URL; -import java.util.ArrayList; -import java.util.Hashtable; -import java.util.Iterator; -import java.util.List; /** * @@ -50,7 +45,8 @@ public class JSON { @SuppressWarnings("resource") public static Object parse(String json) { - return /** @j2sNative swingjs.JSUtil.parseJSON$O(json) || */null; + return /** @j2sNative swingjs.JSUtil.parseJSONRaw$S(json) || */ + null; } public static Object parse(Reader br) { -- 1.7.10.2