<BUG>com.xpn.xwiki.api.Attachment xwikiAttachment, String xwikiRelativeUrl, String xwikiAbsoluteUrl,XWiki xwikiApi, Boolean withPrettyNames){</BUG><CONTEXT>}return historySummary;}private static void fillAttachment(Attachment attachment, ObjectFactory objectFactory, URI baseUri,<extra_id_0>Document doc = xwikiAttachment.getDocument();attachment.setId(String.format("%s@%s", doc.getPrefixedFullName(), xwikiAttachment.getFilename()));</CONTEXT>
com.xpn.xwiki.api.Attachment xwikiAttachment, String xwikiRelativeUrl, String xwikiAbsoluteUrl, XWiki xwikiApi,{