Skip to content

Commit

Permalink
[refac] change method name
Browse files Browse the repository at this point in the history
  • Loading branch information
kgy1008 committed Jul 12, 2024
1 parent c9db421 commit 94c3af0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@ private void saveStoreHeart(final Long userId, final Long storeId) {
}

private void increaseStoreHeartCount(final Long storeId) {
storeFinder.getStore(storeId).updateHearCount(false);
storeFinder.getStore(storeId).updateHeartCount(false);
}

private void decreaseStoreHeartCount(final Long storeId) {
storeFinder.getStore(storeId).updateHearCount(true);
storeFinder.getStore(storeId).updateHeartCount(true);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public class Store extends BaseTimeEntity {
@Column(nullable = false)
private boolean isDeleted;

public void updateHearCount(boolean isDeleted) {
public void updateHeartCount(boolean isDeleted) {
if (isDeleted) {
heartCount--;
}
Expand Down

0 comments on commit 94c3af0

Please sign in to comment.