<BUG>UriBuilder.fromUri(baseUri).path(PageTranslationHistoryResource.class).build(doc.getWiki(), doc.getSpace(), doc.getName(), language).toString();Link historyLink = objectFactory.createLink();</BUG><CONTEXT>Link pageTranslationLink = objectFactory.createLink();pageTranslationLink.setHref(pageTranslationUri);pageTranslationLink.setRel(Relations.PAGE);translation.getLinks().add(pageTranslationLink);String historyUri =<extra_id_0>historyLink.setHref(historyUri);historyLink.setRel(Relations.HISTORY);</CONTEXT>
uri(baseUri, PageTranslationHistoryResource.class, doc.getWiki(), doc.getSpace(), doc.getName(),language);Link historyLink = objectFactory.createLink();