Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Correct mis-leading comment. Page numbers are 0-based in my experienc…
…e, and therefore non-negative; not positive.
  • Loading branch information
Andrew D. Ball committed Oct 4, 2012
commit 29f3fb9f68a8678f89ae1ff591ca80bad25c55ba
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
public interface Page<T> extends Iterable<T> {

/**
* Returns the number of the current page. Is always positive and less that {@code Page#getTotalPages()}.
* Returns the number of the current page. Is non-negative and less that {@code Page#getTotalPages()}.
*
* @return the number of the current page
*/
Expand Down Expand Up @@ -117,4 +117,4 @@ public interface Page<T> extends Iterable<T> {
* @return
*/
Sort getSort();
}
}