Skip to content

Commit

Permalink
Revert "Revert "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 6e44a66 commit 18066d8
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 18066d8

Please sign in to comment.