Skip to content

Commit

Permalink
Merge pull request #11 from Azure/revert-10-revert-9-pagedListFix
Browse files Browse the repository at this point in the history
Revert "Revert "Fixing UnsupportedOperation exception in PagedList""
  • Loading branch information
anuchandy committed Apr 28, 2016
2 parents 6e44a66 + 18066d8 commit 90d7f8b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ public PagedList() {
* @param page the {@link Page} object.
*/
public PagedList(Page<E> page) {
items = page.getItems();
this();
items.addAll(page.getItems());
nextPageLink = page.getNextPageLink();
currentPage = page;
}
Expand Down

0 comments on commit 90d7f8b

Please sign in to comment.