if (url != null)
{
br = getHttpResponse(url, ids);
- }
- if (br != null)
- {
- result = parseResponse(br);
+ if (br != null)
+ {
+ result = parseResponse(br);
+ }
}
} catch (IOException e)
{
protected URL getUrl(String identifier)
{
String url = getDomain() + "/xrefs/id/" + identifier
- + "?content-type=application/json&all_levels=1";
+ + CONTENT_TYPE_JSON + "&all_levels=1";
try
{
return new URL(url);