Skip to content

Fix pagination for APIs that supported it ad hoc - #446

Merged
kohsuke merged 1 commit into
hub4j:masterfrom
daniel-beck:fix-page-size
Aug 30, 2018
Merged

Fix pagination for APIs that supported it ad hoc#446
kohsuke merged 1 commit into
hub4j:masterfrom
daniel-beck:fix-page-size

Conversation

@daniel-beck

Copy link
Copy Markdown
Contributor

This apparently broke in github-api 1.72 due to new args shadowing final int pageSize e.g. at dbddf5b#diff-0fdf88c5f013313a4d3b752c6ed0d3d4R247, so it's always the default of 0/30.

Workaround: listRepositories().withPageSize(…).

100% untested. All I know is that this compiles when skipping tests.

@kohsuke
kohsuke merged commit 53612ad into hub4j:master Aug 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants