Merge pull request #283

This commit is contained in:
Kohsuke Kawaguchi
2017-09-09 12:45:02 -07:00
8 changed files with 56 additions and 31 deletions

View File

@@ -206,7 +206,7 @@ public class GHPullRequest extends GHIssue {
* Depending on the original API call where this object is created, it may not contain everything.
*/
private void populate() throws IOException {
if (merged_by!=null) return; // already populated
if (mergeable_state!=null) return; // already populated
if (root.isOffline()) {
return; // cannot populate, will have to live with what we have
}