Remove dead code

This commit is contained in:
René Pfeuffer
2018-08-31 12:05:05 +02:00
parent ed98d04be4
commit d4a8c05c25
2 changed files with 0 additions and 11 deletions

View File

@@ -92,7 +92,6 @@ public class ChangesetRootResource {
.setEndChangeset(id)
.getChangesets();
if (changesets != null && changesets.getChangesets() != null && changesets.getChangesets().size() == 1) {
PageResult<Changeset> pageResult = new PageResult<>(changesets.getChangesets(), changesets.getTotal());
return Response.ok(changesetToChangesetDtoMapper.map(changesets.getChangesets().get(0), repository)).build();
} else {
return Response.status(Response.Status.NOT_FOUND).build();