From: gmungoc Date: Mon, 19 Nov 2018 15:13:19 +0000 (+0000) Subject: JAL-3032 reinstate methods now available in SwingJS X-Git-Tag: Release_2_11_4_0~45^2~18^2~383^2~1 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=d7fb957ba70d03c919916b8710f5a59abd980c41;p=jalview.git JAL-3032 reinstate methods now available in SwingJS --- diff --git a/src/jalview/ext/ensembl/EnsemblRestClient.java b/src/jalview/ext/ensembl/EnsemblRestClient.java index fa626cb..5ebfcbf 100644 --- a/src/jalview/ext/ensembl/EnsemblRestClient.java +++ b/src/jalview/ext/ensembl/EnsemblRestClient.java @@ -345,12 +345,9 @@ abstract class EnsemblRestClient extends EnsemblSequenceFetcher connection.setDoInput(true); connection.setDoOutput(multipleIds); - if (!Jalview.isJS()) - { - connection.setUseCaches(false); - connection.setConnectTimeout(CONNECT_TIMEOUT_MS); - connection.setReadTimeout(readTimeout); - } + connection.setUseCaches(false); + connection.setConnectTimeout(CONNECT_TIMEOUT_MS); + connection.setReadTimeout(readTimeout); if (multipleIds) {