Skip to content

Commit

Permalink
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 2e67caa commit 8b7b17a
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ public PagedList() {
* @param page the {@link Page} object.
*/
public PagedList(Page<E> page) {
this();
items.addAll(page.getItems());
items = page.getItems();
nextPageLink = page.getNextPageLink();
currentPage = page;
}
Expand Down

0 comments on commit 8b7b17a

Please sign in to comment.