git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-2253 pull up constant, additional unit test
[jalview.git]
/
src
/
jalview
/
ext
/
ensembl
/
EnsemblLookup.java
diff --git
a/src/jalview/ext/ensembl/EnsemblLookup.java
b/src/jalview/ext/ensembl/EnsemblLookup.java
index
6e824cc
..
31da9c0
100644
(file)
--- a/
src/jalview/ext/ensembl/EnsemblLookup.java
+++ b/
src/jalview/ext/ensembl/EnsemblLookup.java
@@
-94,7
+94,7
@@
public class EnsemblLookup extends EnsemblRestClient
protected URL getUrl(String identifier)
{
String url = getDomain() + "/lookup/id/" + identifier
protected URL getUrl(String identifier)
{
String url = getDomain() + "/lookup/id/" + identifier
- + "?content-type=application/json";
+ + CONTENT_TYPE_JSON;
try
{
return new URL(url);
try
{
return new URL(url);