This commit is contained in:
René Pfeuffer
2018-11-06 11:01:33 +01:00
parent ef23178fad
commit 1351898399
4 changed files with 8 additions and 8 deletions

View File

@@ -93,7 +93,7 @@ public class DiffStreamingOutput implements StreamingOutput
public void write(OutputStream output) throws IOException {
try
{
builder.retriveContent(output);
builder.retrieveContent(output);
}
catch (RevisionNotFoundException ex)
{

View File

@@ -66,7 +66,7 @@ public class DiffRootResource {
repositoryService.getDiffCommand()
.setRevision(revision)
.setFormat(diffFormat)
.retriveContent(output);
.retrieveContent(output);
} catch (RevisionNotFoundException e) {
throw new WebApplicationException(Response.Status.NOT_FOUND);
}