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 75512ff

Browse filesBrowse files
committed
Turns out the interning of GHUser wasn't working at all!
Fixes issue hub4j#166.
1 parent 6f48324 commit 75512ff
Copy full SHA for 75512ff

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

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

Copy file name to clipboardExpand all lines: src/main/java/org/kohsuke/github/GitHub.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ protected GHUser getUser(GHUser orig) throws IOException {
293293
GHUser u = users.get(orig.getLogin());
294294
if (u==null) {
295295
orig.root = this;
296-
users.put(login,orig);
296+
users.put(orig.getLogin(),orig);
297297
return orig;
298298
}
299299
return u;

0 commit comments

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