Newly created user object resets root to null.

Fixes issue #111.
Test case from KostyaSha
This commit is contained in:
Kohsuke Kawaguchi
2015-02-15 07:13:33 -08:00
parent 7bbe0f7e8a
commit 9afad71b0f
3 changed files with 23 additions and 12 deletions

View File

@@ -194,7 +194,7 @@ public class GHPullRequest extends GHIssue {
private void populate() throws IOException {
if (merged_by!=null) return; // already populated
root.retrieve().to(url, this);
root.retrieve().to(url, this).wrapUp(owner);
}
/**