Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions src/main/java/org/kohsuke/github/GHPullRequestReview.java
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,7 @@ public Instant getSubmittedAt() {
* the io exception
*/
public GHUser getUser() throws IOException {
if (user != null) {
return owner.root().getUser(user.getLogin());
}
return null;
return owner.root().intern(user);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ public Side getStartSide() {
* the io exception
*/
public GHUser getUser() throws IOException {
return owner.root().getUser(user.getLogin());
return owner.root().intern(user);
}

/**
Expand Down
Loading