throw new RuntimeException("Error fetching issue data", e);
}
}
private IssueData parseIssue(final InputStream _json) {
GithubIssue issue = Json.fromJson(_json, GithubIssue.class);
String url = getUrl(host, id);
IssueData result = new IssueData(id, issue.title, issue.state, url, issue.isResolved());
return result;
}