Skip to content

Commit

Permalink
refactor: 불필요한 코드 제거 (#306)
Browse files Browse the repository at this point in the history
  • Loading branch information
kdkdhoho committed Oct 26, 2024
1 parent 86d01c9 commit a5eb37b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,11 @@
import com.listywave.collaborator.application.domain.Collaborators;
import com.listywave.common.exception.CustomException;
import com.listywave.list.application.domain.category.CategoryType;
import com.listywave.list.application.domain.category.CategoryTypeConverter;
import com.listywave.list.application.domain.item.Item;
import com.listywave.list.application.domain.item.Items;
import com.listywave.list.application.domain.label.Labels;
import com.listywave.user.application.domain.User;
import jakarta.persistence.Column;
import jakarta.persistence.Convert;
import jakarta.persistence.Embedded;
import jakarta.persistence.Entity;
import jakarta.persistence.EntityListeners;
Expand Down Expand Up @@ -56,7 +54,6 @@ public class ListEntity {
private User user;

@Column(name = "category_code", length = 10, nullable = false)
@Convert(converter = CategoryTypeConverter.class)
private CategoryType category;

@Embedded
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
import java.util.List;
import java.util.Set;
import lombok.RequiredArgsConstructor;
import org.springframework.context.ApplicationEventPublisher;
import org.springframework.data.domain.Pageable;
import org.springframework.data.domain.Slice;
import org.springframework.stereotype.Service;
Expand All @@ -75,7 +74,6 @@ public class ListService {
private final AlarmRepository alarmRepository;
private final CollaboratorService collaboratorService;
private final HistoryService historyService;
private final ApplicationEventPublisher applicationEventPublisher;

public ListCreateResponse listCreate(ListCreateRequest request, Long loginUserId) {
User user = userRepository.getById(loginUserId);
Expand Down

0 comments on commit a5eb37b

Please sign in to comment.