Skip to content

Commit

Permalink
refactor: 사용하지 않는 메서드 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
70825 committed Sep 14, 2023
1 parent aa6f3d0 commit 8607604
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
5 changes: 0 additions & 5 deletions backend/src/main/java/com/funeat/product/domain/Product.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import com.funeat.member.domain.bookmark.ProductBookmark;
import com.funeat.review.domain.Review;
import java.util.List;
import java.util.Objects;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
Expand Down Expand Up @@ -80,10 +79,6 @@ public void updateImage(final String topFavoriteImage) {
this.image = topFavoriteImage;
}

public boolean isNotEqualImage(final String anotherImage) {
return !Objects.equals(this.image, anotherImage);
}

public Long getId() {
return id;
}
Expand Down
4 changes: 0 additions & 4 deletions backend/src/main/java/com/funeat/review/domain/Review.java
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,6 @@ public void minusFavoriteCount() {
this.favoriteCount--;
}

public boolean isEqualFavoriteCount(final Long anotherFavoriteCount) {
return Objects.equals(this.favoriteCount, anotherFavoriteCount);
}

public Long getId() {
return id;
}
Expand Down

0 comments on commit 8607604

Please sign in to comment.