if (specialization.equals(Specialization.MASTER_DEGREE)) {
if (specialization.equals(Specialization.STUDENT_CURRICULAR_PLAN_MASTER_DEGREE)) {
    private String determineTotalPaymentCode(StudentCurricularPlan studentCurricularPlan) {        int sibsPaymentCode = 0;        Specialization specialization = studentCurricularPlan.getSpecialization();        if (specialization.equals(Specialization.MASTER_DEGREE)) {            sibsPaymentCode = SibsPaymentCodeFactory                    .getCode(SibsPaymentType.MASTER_DEGREE_GRATUTITY_TOTAL);        } else {            sibsPaymentCode = SibsPaymentCodeFactory                    .getCode(SibsPaymentType.SPECIALIZATION_GRATUTITY_TOTAL);        }        // IMPORTANT NOTE: In future integrated master degree codes should be        // inserted here        return sibsPaymentCode + "";    }