WICKET-6007 make itemsPerPage a long in constructor too

Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/52f4ec44
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/52f4ec44
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/52f4ec44

Branch: refs/heads/lambdas
Commit: 52f4ec449e2588cea25243a94605ce434cf38e49
Parents: 4d18b76
Author: Sven Meier <[email protected]>
Authored: Wed Oct 21 09:42:07 2015 +0200
Committer: Sven Meier <[email protected]>
Committed: Wed Oct 21 09:42:07 2015 +0200

----------------------------------------------------------------------
 .../org/apache/wicket/markup/html/list/PageableListView.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/52f4ec44/wicket-core/src/main/java/org/apache/wicket/markup/html/list/PageableListView.java
----------------------------------------------------------------------
diff --git 
a/wicket-core/src/main/java/org/apache/wicket/markup/html/list/PageableListView.java
 
b/wicket-core/src/main/java/org/apache/wicket/markup/html/list/PageableListView.java
index b1f22a8..f20cf8d 100644
--- 
a/wicket-core/src/main/java/org/apache/wicket/markup/html/list/PageableListView.java
+++ 
b/wicket-core/src/main/java/org/apache/wicket/markup/html/list/PageableListView.java
@@ -52,7 +52,7 @@ public abstract class PageableListView<T> extends ListView<T> 
implements IPageab
         *            Number of rows to show on a page
         */
        public PageableListView(final String id, final IModel<? extends 
List<T>> model,
-               int itemsPerPage)
+               long itemsPerPage)
        {
                super(id, model);
                this.itemsPerPage = itemsPerPage;
@@ -70,7 +70,7 @@ public abstract class PageableListView<T> extends ListView<T> 
implements IPageab
         *            Number of rows to show on a page
         * @see ListView#ListView(String, List)
         */
-       public PageableListView(final String id, final List<T> list, final int 
itemsPerPage)
+       public PageableListView(final String id, final List<T> list, final long 
itemsPerPage)
        {
                super(id, list);
                this.itemsPerPage = itemsPerPage;

Reply via email to