Skip to content

Commit

Permalink
refactor: 예외 처리 위한 로직 줄바꿈 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
Invidam committed Dec 23, 2023
1 parent e3e75dd commit 9960e09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/in/koreatech/koin/domain/shop/MenuImage.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ public void setMenu(Menu menu) {
if (menu.equals(this.menu)) {
return;
}

if (this.menu != null) {
this.menu.getMenuImages().remove(this);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ public void setMenu(Menu menu) {
if (menu.equals(this.menu)) {
return;
}

if (this.menu != null) {
this.menu.getMenuOptions().remove(this);
}
Expand Down

0 comments on commit 9960e09

Please sign in to comment.