Source:
<code>private QueueTaskFuture<?> startJob(GitHubPRCause cause) { List<ParameterValue> values = getDefaultParametersValues(); values.addAll(asList( TRIGGER_SENDER_AUTHOR.param(cause.getTriggerSenderName()), TRIGGER_SENDER_EMAIL.param(cause.getTriggerSenderEmail()), COMMIT_AUTHOR_NAME.param(cause.getCommitAuthorName()), COMMIT_AUTHOR_EMAIL.param(cause.getCommitAuthorEmail()), TARGET_BRANCH.param(cause.getTargetBranch()), SOURCE_BRANCH.param(cause.getSourceBranch()), AUTHOR_EMAIL.param(cause.getPRAuthorEmail()), SHORT_DESC.param(cause.getShortDescription()), TITLE.param(cause.getTitle()), URL.param(cause.getHtmlUrl().toString()), SOURCE_REPO_OWNER.param(cause.getSourceRepoOwner()), HEAD_SHA.param(cause.getHeadSha()), COND_REF.param(cause.getCondRef()), CAUSE_SKIP.param(cause.isSkip()), NUMBER.param(String.valueOf(cause.getNumber())) )); GitHubPRBadgeAction gitHubPRBadgeAction = new GitHubPRBadgeAction(cause); ParameterizedJobMixIn parameterizedJobMixIn = asParameterizedJobMixIn(job); int quietPeriod = 0; try { Object mixinJob = FieldUtils.readField(parameterizedJobMixIn, "val$job", true); ParameterizedJobMixIn.ParameterizedJob parameterizedJob = (ParameterizedJobMixIn.ParameterizedJob) mixinJob; quietPeriod = parameterizedJob.getQuietPeriod(); LOGGER.debug("Got quiet period from the project: {}", quietPeriod); } catch (IllegalAccessException e) { <START> LOGGER.error("Couldn't get quiet period ({})", e.getMessage(), e); <END> } return parameterizedJobMixIn.scheduleBuild2(quietPeriod, new CauseAction(cause), new ParametersAction(values), gitHubPRBadgeAction); }</code><technical_language>"Couldn't get period, fallback {}, for {}", $quietPeriod, job.getFullName</technical_language>

Target:
private QueueTaskFuture<?> startJob(GitHubPRCause cause) { List<ParameterValue> values = getDefaultParametersValues(); values.addAll(asList( TRIGGER_SENDER_AUTHOR.param(cause.getTriggerSenderName()), TRIGGER_SENDER_EMAIL.param(cause.getTriggerSenderEmail()), COMMIT_AUTHOR_NAME.param(cause.getCommitAuthorName()), COMMIT_AUTHOR_EMAIL.param(cause.getCommitAuthorEmail()), TARGET_BRANCH.param(cause.getTargetBranch()), SOURCE_BRANCH.param(cause.getSourceBranch()), AUTHOR_EMAIL.param(cause.getPRAuthorEmail()), SHORT_DESC.param(cause.getShortDescription()), TITLE.param(cause.getTitle()), URL.param(cause.getHtmlUrl().toString()), SOURCE_REPO_OWNER.param(cause.getSourceRepoOwner()), HEAD_SHA.param(cause.getHeadSha()), COND_REF.param(cause.getCondRef()), CAUSE_SKIP.param(cause.isSkip()), NUMBER.param(String.valueOf(cause.getNumber())) )); GitHubPRBadgeAction gitHubPRBadgeAction = new GitHubPRBadgeAction(cause); ParameterizedJobMixIn parameterizedJobMixIn = asParameterizedJobMixIn(job); int quietPeriod = 0; try { Object mixinJob = FieldUtils.readField(parameterizedJobMixIn, "val$job", true); ParameterizedJobMixIn.ParameterizedJob parameterizedJob = (ParameterizedJobMixIn.ParameterizedJob) mixinJob; quietPeriod = parameterizedJob.getQuietPeriod(); } catch (IllegalAccessException e) { LOGGER.error("Couldn't get quiet period, falling back to ({})", quietPeriod, e.getMessage(), e); } return parameterizedJobMixIn.scheduleBuild2(quietPeriod, new CauseAction(cause), new ParametersAction(values), gitHubPRBadgeAction); }