diff --git a/api/src/main/java/ca/bc/gov/educ/api/graduation/model/dto/StudentGenderEnum.java b/api/src/main/java/ca/bc/gov/educ/api/graduation/model/dto/StudentGenderEnum.java deleted file mode 100644 index a6b5db14..00000000 --- a/api/src/main/java/ca/bc/gov/educ/api/graduation/model/dto/StudentGenderEnum.java +++ /dev/null @@ -1,19 +0,0 @@ -package ca.bc.gov.educ.api.graduation.model.dto; - -public enum StudentGenderEnum { - - M("Male"), - F("Female"); - - public final String label; - - - StudentGenderEnum(String label) { - this.label = label; - } - - @Override - public String toString() { - return label; - } -} diff --git a/api/src/main/java/ca/bc/gov/educ/api/graduation/service/ReportService.java b/api/src/main/java/ca/bc/gov/educ/api/graduation/service/ReportService.java index 1c7bebf7..cb0fe0b1 100644 --- a/api/src/main/java/ca/bc/gov/educ/api/graduation/service/ReportService.java +++ b/api/src/main/java/ca/bc/gov/educ/api/graduation/service/ReportService.java @@ -836,7 +836,6 @@ private GraduationStatus getGraduationStatus(ca.bc.gov.educ.api.graduation.model private Student getStudentDataAchvReport(GradSearchStudent studentObj, List optionalStudentProgram) { Student studObj = new Student(); - studObj.setGender(StudentGenderEnum.valueOf(studentObj.getGenderCode()).toString()); studObj.setCitizenship(studentObj.getStudentCitizenship()); studObj.setFirstName(studentObj.getLegalFirstName()); studObj.setMiddleName(studentObj.getLegalMiddleNames());