Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public PaginationImpl(
this.currSource = convertSourceProvider();
this.isComputed = isComputed;
this.isAsync = isAsync;
this.isStatic = sourceProvider instanceof Collection || isAsync;
this.isStatic = sourceProvider instanceof Collection;
this.isLazy =
!isStatic && !isComputed && (sourceProvider instanceof Function || sourceProvider instanceof Supplier);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ protected final <T> State<T> initialState() {
* Creates a new immutable pagination with static data source.
*
* @param sourceProvider The data source for pagination.
* @param elementConsumer The function for creating pagination items, this function is called for
* @param elementConsumer The function for creating pagination items, this function is called for
* each paged element (item) on a page.
* @param <T> The pagination data type.
* @return A new immutable pagination state.
Expand Down Expand Up @@ -602,7 +602,7 @@ protected final <T> State<Pagination> computedPaginationState(
* such API may be changed or may be removed completely in any further release. </i></b>
*
* @param sourceProvider The data source for pagination.
* @param valueConsumer The function for creating pagination items, this function is called for
* @param valueConsumer The function for creating pagination items, this function is called for
* each paged element (item) on a page.
* @param <T> The pagination data type.
* @return A new unmodifiable pagination state.
Expand Down