Skip to content

Commit

Permalink
Merge pull request #9 from anuchandy/pagedListFix
Browse files Browse the repository at this point in the history
Fixing UnsupportedOperation exception in PagedList
  • Loading branch information
anuchandy committed Apr 28, 2016
2 parents 82bdc8b + c3f7a46 commit 2e67caa
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 2e67caa

Please sign in to comment.