public void init() { // make the initial check call to populate our data structures if (!initGhRepository()) { // We could have hit the rate limit while initializing. If we // continue, then we will loop back around and attempt to re-init. return; } for (Entry<Integer, GhprbPullRequest> next : helper.getTrigger().getPulls().entrySet()) { GhprbPullRequest pull = next.getValue(); try { pull.init(helper, this); } catch (IOException e) { logger.log( Level.SEVERE, "Unable to initialize pull request #{0} for repo {1}, job {2}", new Object[] { next.getKey(), reponame, helper.getTrigger().getActualProject().getFullName() }); e.printStackTrace(); } } }