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 795c642

Browse filesBrowse files
committed
this doesn't work as intended.
1 parent 559cc37 commit 795c642
Copy full SHA for 795c642

File tree

Expand file treeCollapse file tree

1 file changed

+7
-6
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+7
-6
lines changed

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

Copy file name to clipboardExpand all lines: src/main/java/org/kohsuke/github/GHRepository.java
+7-6Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -265,12 +265,13 @@ public List<GHPullRequest> getPullRequests(GHPullRequest.State state) throws IOE
265265
return root.retrieveWithAuth("/pulls/"+owner+'/'+name+"/"+state.name().toLowerCase(Locale.ENGLISH),JsonPullRequests.class).wrap(root);
266266
}
267267

268-
/**
269-
* Retrieves all the pull requests.
270-
*/
271-
public List<GHPullRequest> getPullRequests() throws IOException {
272-
return root.retrieveWithAuth("/pulls/"+owner+'/'+name,JsonPullRequests.class).wrap(root);
273-
}
268+
// this is no different from getPullRequests(OPEN)
269+
// /**
270+
// * Retrieves all the pull requests.
271+
// */
272+
// public List<GHPullRequest> getPullRequests() throws IOException {
273+
// return root.retrieveWithAuth("/pulls/"+owner+'/'+name,JsonPullRequests.class).wrap(root);
274+
// }
274275

275276
private void verifyMine() throws IOException {
276277
if (!root.login.equals(owner))

0 commit comments

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