Added the membership API for the authenticated user.

This commit is contained in:
Kohsuke Kawaguchi
2016-11-19 15:26:04 -08:00
parent 3f223b1ba0
commit 511f156603
5 changed files with 138 additions and 1 deletions

View File

@@ -340,7 +340,7 @@ public class GitHub {
/**
* Interns the given {@link GHUser}.
*/
protected GHUser getUser(GHUser orig) throws IOException {
protected GHUser getUser(GHUser orig) {
GHUser u = users.get(orig.getLogin());
if (u==null) {
orig.root = this;