Skip to content

Commit

Permalink
Turns out the interning of GHUser wasn't working at all!
Browse files Browse the repository at this point in the history
Fixes issue #166.
  • Loading branch information
kohsuke committed Mar 22, 2015
1 parent 6f48324 commit 75512ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/kohsuke/github/GitHub.java
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ protected GHUser getUser(GHUser orig) throws IOException {
GHUser u = users.get(orig.getLogin());
if (u==null) {
orig.root = this;
users.put(login,orig);
users.put(orig.getLogin(),orig);
return orig;
}
return u;
Expand Down

0 comments on commit 75512ff

Please sign in to comment.