mirror of
https://github.com/jlengrand/github-api.git
synced 2026-04-04 15:50:52 +00:00
this doesn't work as intended.
This commit is contained in:
@@ -265,12 +265,13 @@ public class GHRepository {
|
||||
return root.retrieveWithAuth("/pulls/"+owner+'/'+name+"/"+state.name().toLowerCase(Locale.ENGLISH),JsonPullRequests.class).wrap(root);
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieves all the pull requests.
|
||||
*/
|
||||
public List<GHPullRequest> getPullRequests() throws IOException {
|
||||
return root.retrieveWithAuth("/pulls/"+owner+'/'+name,JsonPullRequests.class).wrap(root);
|
||||
}
|
||||
// this is no different from getPullRequests(OPEN)
|
||||
// /**
|
||||
// * Retrieves all the pull requests.
|
||||
// */
|
||||
// public List<GHPullRequest> getPullRequests() throws IOException {
|
||||
// return root.retrieveWithAuth("/pulls/"+owner+'/'+name,JsonPullRequests.class).wrap(root);
|
||||
// }
|
||||
|
||||
private void verifyMine() throws IOException {
|
||||
if (!root.login.equals(owner))
|
||||
|
||||
Reference in New Issue
Block a user