Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 37c58bf

Browse filesBrowse files
committed
indentation fix
1 parent d145ad8 commit 37c58bf
Copy full SHA for 37c58bf

File tree

Expand file treeCollapse file tree

1 file changed

+12
-12
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+12
-12
lines changed

‎src/main/java/org/kohsuke/github/GHPullRequest.java

Copy file name to clipboardExpand all lines: src/main/java/org/kohsuke/github/GHPullRequest.java
+12-12Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -191,18 +191,18 @@ private void populate() throws IOException {
191191
/**
192192
* Retrieves all the commits associated to this pull request.
193193
*/
194-
public PagedIterable<GHPullRequestCommitDetail> listCommits() {
195-
return new PagedIterable<GHPullRequestCommitDetail>() {
196-
public PagedIterator<GHPullRequestCommitDetail> iterator() {
197-
return new PagedIterator<GHPullRequestCommitDetail>(root.retrieve().asIterator(
198-
String.format("%s/commits", getApiURL().getPath()),
199-
GHPullRequestCommitDetail[].class)) {
200-
@Override
201-
protected void wrapUp(GHPullRequestCommitDetail[] page) {
202-
}
194+
public PagedIterable<GHPullRequestCommitDetail> listCommits() {
195+
return new PagedIterable<GHPullRequestCommitDetail>() {
196+
public PagedIterator<GHPullRequestCommitDetail> iterator() {
197+
return new PagedIterator<GHPullRequestCommitDetail>(root.retrieve().asIterator(
198+
String.format("%s/commits", getApiURL().getPath()),
199+
GHPullRequestCommitDetail[].class)) {
200+
@Override
201+
protected void wrapUp(GHPullRequestCommitDetail[] page) {
202+
}
203+
};
204+
}
203205
};
204-
}
205-
};
206-
}
206+
}
207207

208208
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.