Skip to content

Commit

Permalink
refact: refact updateFamilyName logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Ji-soo708 committed Dec 10, 2024
1 parent ae4135f commit e15f2d2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions family/src/main/java/com/oing/domain/Family.java
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,8 @@ public void resetScore() {
public void updateFamilyName(String familyName, String familyNameEditorId) {
if (familyName != null) {
validateFamilyName(familyName);
this.familyName = familyName;
} else {
this.familyName = null;
}
this.familyName = familyName;
this.familyNameEditorId = familyNameEditorId;
}

Expand Down

0 comments on commit e15f2d2

Please sign in to comment.