You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Sven Meier (JIRA)" <ji...@apache.org> on 2015/10/21 09:25:27 UTC

[jira] [Updated] (WICKET-6007) PageableListView constructor argument and set/getItemsPerPage are inconsistent

     [ https://issues.apache.org/jira/browse/WICKET-6007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sven Meier updated WICKET-6007:
-------------------------------
       Assignee: Sven Meier
       Priority: Minor  (was: Major)
    Component/s: wicket

> 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)