Skip to content

Commit

Permalink
Polishing
Browse files Browse the repository at this point in the history
  • Loading branch information
ilayaperumalg committed Apr 25, 2017
1 parent 2184068 commit eae98f4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public PagedResources<? extends AppRegistrationResource> list(
}
Collections.sort(list);
return pagedResourcesAssembler
.toResource(new PageImpl<>(list, pageable, appRegistry.findAll().size()), assembler);
.toResource(new PageImpl<>(list, pageable, list.size()), assembler);
}

/**
Expand Down

0 comments on commit eae98f4

Please sign in to comment.