Skip to content

Commit

Permalink
More cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
bitwiseman committed Sep 14, 2024
1 parent 31d3682 commit 06bf8a2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/main/java/org/kohsuke/github/GHOrganization.java
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,6 @@ public PagedIterable<GHEventInfo> listEvents() throws IOException {
* List all the repositories using a default of 30 items page size.
*
* @return the paged iterable
* @deprecated Use #listRepositories().withPageSize() instead.
*/
@Override
public PagedIterable<GHRepository> listRepositories() {
Expand Down
3 changes: 0 additions & 3 deletions src/main/java/org/kohsuke/github/PagedIterable.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ public abstract class PagedIterable<T> implements Iterable<T> {
* @return the paged iterable
*/
public PagedIterable<T> withPageSize(int size) {
if (size < 0) {
size = 0;
}
this.pageSize = size;
return this;
}
Expand Down

0 comments on commit 06bf8a2

Please sign in to comment.