Skip to content

Commit

Permalink
feat: print underscore if attributes are null
Browse files Browse the repository at this point in the history
  • Loading branch information
gianmarcoplutino committed Nov 28, 2024
1 parent 40c3680 commit e943167
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,12 @@ public static Map<String, Object> setUpAttachmentData(Onboarding onboarding) {
Optional.ofNullable(onboarding.getInstitution().getGpuData().getBusinessRegisterNumber())
.orElse(UNDERSCORE));
map.put(
"legalRegisterNumber", Optional.ofNullable(onboarding.getInstitution().getGpuData().getLegalRegisterNumber())
.orElse(UNDERSCORE));
map.put("legalRegisterName", Optional.ofNullable(onboarding.getInstitution().getGpuData().getLegalRegisterName())
"legalRegisterNumber",
Optional.ofNullable(onboarding.getInstitution().getGpuData().getLegalRegisterNumber())
.orElse(UNDERSCORE));
map.put(
"legalRegisterName",
Optional.ofNullable(onboarding.getInstitution().getGpuData().getLegalRegisterName())
.orElse(UNDERSCORE));
map.put("manager", onboarding.getInstitution().getGpuData().isManager() ? "Si" : "No");
map.put(
Expand Down

0 comments on commit e943167

Please sign in to comment.