<BUG>if (tagsObject.getProperty("tags") != null) {String tagsUri =UriBuilder.fromUri(baseUri).path(PageTagsResource.class).build(doc.getWiki(), doc.getSpace(), doc.getName()).toString();</BUG><CONTEXT>objectsLink.setRel(Relations.OBJECTS);pageSummary.getLinks().add(objectsLink);}com.xpn.xwiki.api.Object tagsObject = doc.getObject("XWiki.TagClass", 0);if (tagsObject != null) {<extra_id_0>Link tagsLink = objectFactory.createLink();</CONTEXT>
String tagsUri = uri(baseUri, PageTagsResource.class, doc.getWiki(), doc.getSpace(), doc.getName());