Skip to content

Commit

Permalink
Fixing UnsupportedOperation exception in PagedList
Browse files Browse the repository at this point in the history
  • Loading branch information
anuchandy committed Apr 28, 2016
1 parent 82bdc8b commit c3f7a46
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 c3f7a46

Please sign in to comment.