[ 
https://issues.apache.org/jira/browse/WICKET-6007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14966378#comment-14966378
 ] 

ASF subversion and git services commented on WICKET-6007:
---------------------------------------------------------

Commit 52f4ec449e2588cea25243a94605ce434cf38e49 in wicket's branch 
refs/heads/master from [~svenmeier]
[ https://git-wip-us.apache.org/repos/asf?p=wicket.git;h=52f4ec4 ]

WICKET-6007 make itemsPerPage a long in constructor too


> PageableListView constructor argument and set/getItemsPerPage are inconsistent
> ------------------------------------------------------------------------------
>
>                 Key: WICKET-6007
>                 URL: https://issues.apache.org/jira/browse/WICKET-6007
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 7.0.0
>            Reporter: Tero Tarkkala
>            Assignee: Sven Meier
>            Priority: Minor
>
> I bumped into a little inconsistency, PageableListView constructors want an 
> int like this:
> public PageableListView(final String id, final IModel<? extends List<T>> 
> model, int itemsPerPage)
> But the set/getItemsPerPage and the property itemsPerPage use a long:
> public final long getItemsPerPage()
> public final void setItemsPerPage(long itemsPerPage)
> private long itemsPerPage;



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to