Permalink
Browse files

refactor

  • Loading branch information...
dai0304 committed May 16, 2012
1 parent c82f0f3 commit 97bccf5d508667a142df9174aa68254cad385709
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/jp/xet/uncommons/wicket/spring/AbstractSpringDataProvider.java
@@ -139,7 +139,7 @@ protected int getItemsPerPage() {
* @since 1.2
*/
protected Pageable newPageable(int first, int count) {
- return new PageRequest(getPage(first, itemsPerPage), itemsPerPage);
+ return new PageRequest(getPage(first, getItemsPerPage()), getItemsPerPage());
}
private void clearCachedItemCount() {

0 comments on commit 97bccf5

Please sign in to comment.