final Integer studentNumber = Integer.valueOf(form.getString("studentNumber")); return Registration.readStudentByNumberAndDegreeType(studentNumber, getDegreeType(form));
final Integer studentNumber = Integer.valueOf(form.getString("studentNumber")); Registration registration = Registration.readStudentByNumberAndDegreeType(studentNumber, getDegreeType(form)); if (registration == null && getDegreeType(form).equals(DegreeType.MASTER_DEGREE)) { registration = Registration.readStudentByNumberAndDegreeType(studentNumber, DegreeType.BOLONHA_ADVANCED_FORMATION_DIPLOMA);
	private Registration getStudent(final DynaActionForm form) {		final Integer studentNumber = Integer.valueOf(form.getString("studentNumber"));		return Registration.readStudentByNumberAndDegreeType(studentNumber, getDegreeType(form));	}