/*
* for convenience, pre-fill ensembl.org as the domain for "ENSEMBL"
*/
- divisions.put(DBRefSource.ENSEMBL.toUpperCase(), ENSEMBL_REST);
+ divisions.put(DBRefSource.ENSEMBL.toUpperCase(), ensemblDomain);
BufferedReader br = null;
try
{
- URL url = getDivisionsUrl(ENSEMBL_GENOMES_REST);
+ URL url = getDivisionsUrl(ensemblGenomesDomain);
if (url != null)
{
br = getHttpResponse(url, null);
}
- parseResponse(br, ENSEMBL_GENOMES_REST);
+ parseResponse(br, ensemblGenomesDomain);
} catch (IOException e)
{
// ignore