Skip to content

Commit 7b1be26

Browse files
carina29MateStrysewske
authored andcommitted
#13006 - Rename getName() method
1 parent a8a6363 commit 7b1be26

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

sormas-api/src/main/java/de/symeda/sormas/api/caze/CaseReferenceDto.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public static String buildCaption(String uuid, String firstName, String lastName
8383
return shortUuid;
8484
}
8585

86-
public String getName() {
86+
public String buildNameCaption() {
8787
return PersonDto.buildCaption(firstName, lastName);
8888
}
8989
}

sormas-ui/src/main/java/de/symeda/sormas/ui/exposure/ExposuresField.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ private void addGeneratedColumns(Table table) {
234234
}
235235

236236
private static String getContactCaseName(ContactReferenceDto contactToCase) {
237-
return contactToCase.getCaze() != null ? contactToCase.getCaze().getName() : null;
237+
return contactToCase.getCaze() != null ? contactToCase.getCaze().buildNameCaption() : null;
238238
}
239239

240240
@Override

0 commit comments

Comments
 (0)