JAL-2253 pull up constant, additional unit test
[jalview.git] / src / jalview / ext / ensembl / EnsemblLookup.java
index 6e824cc..31da9c0 100644 (file)
@@ -94,7 +94,7 @@ public class EnsemblLookup extends EnsemblRestClient
   protected URL getUrl(String identifier)
   {
     String url = getDomain() + "/lookup/id/" + identifier
-            + "?content-type=application/json";
+            + CONTENT_TYPE_JSON;
     try
     {
       return new URL(url);