From: hansonr Date: Thu, 28 Mar 2019 18:55:39 +0000 (-0400) Subject: #211 corrects swingjs.JSUtil.parseJSONRaw$S call X-Git-Tag: Release_2_11_4_0~45^2~18^2~199^2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=7ebe0db0a03df2c5a813a8f9c11141a81b91b2d8;p=jalview.git #211 corrects swingjs.JSUtil.parseJSONRaw$S call --- 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) {