Remove wrong annotations

This commit is contained in:
René Pfeuffer
2018-08-10 16:32:56 +02:00
parent 7e31498fa4
commit b197f92945

View File

@@ -88,7 +88,7 @@ public class ContentResource {
responseBuilder.header("Content-Length", content.length); responseBuilder.header("Content-Length", content.length);
} }
private byte[] getContent(@PathParam("revision") String revision, @PathParam("path") String path, RepositoryService repositoryService) throws IOException, RepositoryException { private byte[] getContent(String revision, String path, RepositoryService repositoryService) throws IOException, RepositoryException {
ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
repositoryService.getCatCommand().setRevision(revision).retriveContent(outputStream, path); repositoryService.getCatCommand().setRevision(revision).retriveContent(outputStream, path);
return outputStream.toByteArray(); return outputStream.toByteArray();