added more convenience methods

This commit is contained in:
Kohsuke Kawaguchi
2011-06-16 22:39:47 -07:00
parent dc150b7680
commit 073b0e6d7f
2 changed files with 19 additions and 0 deletions

View File

@@ -76,6 +76,13 @@ public class GHPullRequest {
return user;
}
/**
* Repository to which the pull request was sent.
*/
public GHRepository getRepository() {
return getBase().getRepository();
}
/**
* This points to where the change should be pulled into,
* but I'm not really sure what exactly it means.