minor cleanup

This commit is contained in:
j2blake 2013-10-08 16:22:37 -04:00
parent 7cccf19e45
commit eee9d5ab97

View file

@ -162,9 +162,7 @@ class IndividualResponseBuilder {
map = new HashMap<String, Object>();
map.put("name", relatedSubjectInd.getName());
// TODO find out which of these values is the correct one
map.put("url", UrlBuilder.getIndividualProfileUrl(relatedSubjectInd, vreq));
map.put("url", (new ListedIndividual(relatedSubjectInd, vreq)).getProfileUrl());
String relatingPredicateUri = vreq.getParameter("relatingPredicateUri");
if (relatingPredicateUri != null) {