if (infoExecutionCourse.getPraticalHours() != null) {
if (infoExecutionCourse.getProblemsHours() != null) {
    private void fillForm(ActionForm form, InfoExecutionCourse infoExecutionCourse) {        DynaActionForm executionCourseForm = (DynaActionForm) form;        executionCourseForm.set("name", infoExecutionCourse.getNome());        executionCourseForm.set("code", infoExecutionCourse.getSigla());        if (infoExecutionCourse.getTheoreticalHours() != null) {            executionCourseForm.set("theoreticalHours", infoExecutionCourse.getTheoreticalHours()                    .toString());        }        if (infoExecutionCourse.getPraticalHours() != null) {            executionCourseForm.set("praticalHours", infoExecutionCourse.getPraticalHours().toString());        }        if (infoExecutionCourse.getTheoPratHours() != null) {            executionCourseForm.set("theoPratHours", infoExecutionCourse.getTheoPratHours().toString());        }        if (infoExecutionCourse.getLabHours() != null) {            executionCourseForm.set("labHours", infoExecutionCourse.getLabHours().toString());        }        if (infoExecutionCourse.getSeminaryHours() != null) {            executionCourseForm.set("seminaryHours", infoExecutionCourse.getSeminaryHours().toString());        }        if (infoExecutionCourse.getPraticalHours() != null) {            executionCourseForm.set("problemsHours", infoExecutionCourse.getProblemsHours().toString());        }        if (infoExecutionCourse.getFieldWorkHours() != null) {            executionCourseForm.set("fieldWorkHours", infoExecutionCourse.getFieldWorkHours().toString());        }        if (infoExecutionCourse.getTrainingPeriodHours() != null) {            executionCourseForm.set("trainingPeriodHours", infoExecutionCourse.getTrainingPeriodHours().toString());        }        if (infoExecutionCourse.getTutorialOrientationHours() != null) {            executionCourseForm.set("tutorialOrientationHours", infoExecutionCourse.getTutorialOrientationHours().toString());        }        executionCourseForm.set("comment", infoExecutionCourse.getComment());    }