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 ccb8725

Browse filesBrowse files
committed
Merge pull request hub4j#116 from DavidTanner/patch-1
Remove getPath()
2 parents 2ab71e8 + 94831fc commit ccb8725
Copy full SHA for ccb8725

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+1
-1
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
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ public PagedIterable<GHPullRequestCommitDetail> listCommits() {
196196
return new PagedIterable<GHPullRequestCommitDetail>() {
197197
public PagedIterator<GHPullRequestCommitDetail> iterator() {
198198
return new PagedIterator<GHPullRequestCommitDetail>(root.retrieve().asIterator(
199-
String.format("%s/commits", getApiURL().getPath()),
199+
String.format("%s/commits", getApiURL()),
200200
GHPullRequestCommitDetail[].class)) {
201201
@Override
202202
protected void wrapUp(GHPullRequestCommitDetail[] page) {

0 commit comments

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