From: gmungoc Date: Mon, 11 Apr 2016 15:42:20 +0000 (+0100) Subject: JAL-1705 code/comment tidy only X-Git-Tag: Release_2_10_0~263^2~2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=49476fb0fa050653e9124a916a0d61f487a2b79f;p=jalview.git JAL-1705 code/comment tidy only --- 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"),