git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7410e0b
)
#210 Fixes Ensembl fetch problem (really)
author
hansonr
<hansonr@STO24954W.ad.stolaf.edu>
Tue, 2 Apr 2019 17:09:01 +0000
(12:09 -0500)
committer
hansonr
<hansonr@STO24954W.ad.stolaf.edu>
Tue, 2 Apr 2019 17:09:01 +0000
(12:09 -0500)
src/jalview/util/Platform.java
patch
|
blob
|
history
diff --git
a/src/jalview/util/Platform.java
b/src/jalview/util/Platform.java
index
c400d83
..
b2bc3f4
100644
(file)
--- a/
src/jalview/util/Platform.java
+++ b/
src/jalview/util/Platform.java
@@
-418,6
+418,10
@@
public class Platform
*/
public static void readInfoProperties(String prefix, Properties p)
{
+ if (!isJS())
+ {
+ return;
+ }
@SuppressWarnings("unused")
ThreadGroup g = Thread.currentThread().getThreadGroup();
String id = getUniqueAppletID();
@@
-452,7
+456,7
@@
public class Platform
{
if (isJS())
{
- return JSON.getJSONReader(response);
+ return JSON.parse(response);
}
BufferedReader br = null;