Skip to content

Commit

Permalink
Enhancement is done after code review.
Browse files Browse the repository at this point in the history
Enhancement is done after code review.
  • Loading branch information
infstar committed Sep 24, 2024
1 parent 0c51c7e commit 80603dd
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -349,10 +349,10 @@ private void populate(OngoingUpdateFieldDTO field, GraduationStudentRecordEntity
}

private String getStringValue(Object value) {
if (value == null)
return null;
String str = (String) value;
return NULL_VALUE.equalsIgnoreCase(str)? null : str;
if (value instanceof String str) {
return NULL_VALUE.equalsIgnoreCase(str) ? null : str;
}
return null;
}

private StudentOptionalProgramEntity handleExistingOptionalProgram(StudentOptionalProgramRequestDTO studentOptionalProgramReq, StudentOptionalProgramEntity gradEntity) {
Expand Down

0 comments on commit 80603dd

Please sign in to comment.