From 49476fb0fa050653e9124a916a0d61f487a2b79f Mon Sep 17 00:00:00 2001 From: gmungoc Date: Mon, 11 Apr 2016 16:42:20 +0100 Subject: [PATCH] JAL-1705 code/comment tidy only --- src/jalview/ext/ensembl/EnsemblRestClient.java | 6 ++++++ src/jalview/ext/ensembl/EnsemblSeqProxy.java | 4 +--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/jalview/ext/ensembl/EnsemblRestClient.java b/src/jalview/ext/ensembl/EnsemblRestClient.java index 34f8816..441ec7c 100644 --- a/src/jalview/ext/ensembl/EnsemblRestClient.java +++ b/src/jalview/ext/ensembl/EnsemblRestClient.java @@ -69,6 +69,12 @@ abstract class EnsemblRestClient extends EnsemblSequenceFetcher domain = d; } + /** + * Returns the domain name to query e.g. http://rest.ensembl.org or + * http://rest.ensemblgenomes.org + * + * @return + */ String getDomain() { return domain; diff --git a/src/jalview/ext/ensembl/EnsemblSeqProxy.java b/src/jalview/ext/ensembl/EnsemblSeqProxy.java index 0ceb29c..8fb668a 100644 --- a/src/jalview/ext/ensembl/EnsemblSeqProxy.java +++ b/src/jalview/ext/ensembl/EnsemblSeqProxy.java @@ -36,8 +36,6 @@ public abstract class EnsemblSeqProxy extends EnsemblRestClient { private static final String ALLELES = "alleles"; - protected static final String CONSEQUENCE_TYPE = "consequence_type"; - protected static final String PARENT = "Parent"; protected static final String ID = "ID"; @@ -57,7 +55,7 @@ public abstract class EnsemblSeqProxy extends EnsemblRestClient GENOMIC("genomic"), /** - * type=cdna to fetch dna including UTRs + * type=cdna to fetch coding dna including UTRs */ CDNA("cdna"), -- 1.7.10.2