X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fjalview%2Fext%2Fensembl%2FEnsemblRestClient.java;h=4a5544e299670a6b1d38ef23ed34c9289f3ff284;hb=b9b1f47cc74bbec8c28b75776e1d00c258215dfb;hp=b605232e039403d9473f4b34bf7724260ac86cc1;hpb=577b0bf651763fe609eb6d6343754662023b3eac;p=jalview.git diff --git a/src/jalview/ext/ensembl/EnsemblRestClient.java b/src/jalview/ext/ensembl/EnsemblRestClient.java index b605232..4a5544e 100644 --- a/src/jalview/ext/ensembl/EnsemblRestClient.java +++ b/src/jalview/ext/ensembl/EnsemblRestClient.java @@ -20,9 +20,6 @@ */ package jalview.ext.ensembl; -import jalview.util.Platform; -import jalview.util.StringUtils; - import java.io.BufferedReader; import java.io.DataOutputStream; import java.io.IOException; @@ -39,6 +36,9 @@ import javax.ws.rs.HttpMethod; import org.json.simple.parser.ParseException; +import jalview.util.Platform; +import jalview.util.StringUtils; + /** * Base class for Ensembl REST service clients * @@ -69,9 +69,9 @@ abstract class EnsemblRestClient extends EnsemblSequenceFetcher * @see https://github.com/Ensembl/ensembl-rest/wiki/Change-log * @see http://rest.ensembl.org/info/rest?content-type=application/json */ - private static final String LATEST_ENSEMBLGENOMES_REST_VERSION = "9.0"; + private static final String LATEST_ENSEMBLGENOMES_REST_VERSION = "15.2"; - private static final String LATEST_ENSEMBL_REST_VERSION = "9.0"; + private static final String LATEST_ENSEMBL_REST_VERSION = "15.2"; private static final String REST_CHANGE_LOG = "https://github.com/Ensembl/ensembl-rest/wiki/Change-log"; @@ -319,10 +319,10 @@ abstract class EnsemblRestClient extends EnsemblSequenceFetcher InputStream response = connection.getInputStream(); - Platform.timeCheck(null, Platform.TIME_MARK); + // Platform.timeCheck(null, Platform.TIME_MARK); Object ret = Platform.parseJSON(response); - Platform.timeCheck("EnsemblRestClient.getJSON " + url, - Platform.TIME_MARK); + // Platform.timeCheck("EnsemblRestClient.getJSON " + url, + // Platform.TIME_MARK); return ret; }