We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 53612ad + c309c2c commit 1ca6535Copy full SHA for 1ca6535
1 file changed
src/main/java/org/kohsuke/github/GHRepository.java
@@ -813,7 +813,9 @@ public PagedIterable<GHRef> listRefs() throws IOException {
813
public PagedIterator<GHRef> _iterator(int pageSize) {
814
return new PagedIterator<GHRef>(root.retrieve().asIterator(url, GHRef[].class, pageSize)) {
815
protected void wrapUp(GHRef[] page) {
816
- // no-op
+ for(GHRef p: page) {
817
+ p.wrap(root);
818
+ }
819
}
820
};
821
0 commit comments