}
private ActionForward removeDegreeFromCandidacy(ActionMapping mapping, ActionForm actionForm, HttpServletRequest request,
HttpServletResponse response, String forward) {
final Over23IndividualCandidacyProcessBean bean = getIndividualCandidacyProcessBean();
request.setAttribute(getIndividualCandidacyProcessBeanName(), bean);
final String degreeId = ((CandidacyForm) actionForm).getDegreeToDelete();
if (degreeId != null) {
final Degree degree = getDegree(degreeId);
if (bean.containsDegree(degree)) {
bean.removeDegree(degree);
}
}
return mapping.findForward(forward);
}