Skip to content

Commit

Permalink
Docs: 주석 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
nohy6630 committed May 23, 2024
1 parent 8fd0884 commit 9a1a6ae
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@

import java.net.URI;

//todo : 채팅방목록 페이지 진입시 프론트쪽에서 연결해야할 웹소켓 토픽(채팅방당 한개씩)리스트를 반환하는 api를 주고 다 sub하게 만들어야 될듯
@RestController
@RequiredArgsConstructor
@RequestMapping("/chatrooms")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ public Optional<DirectChatRoom> findByMentorAndMentee(User mentor, User mentee)
return Optional.ofNullable(result);
}

//todo 최신순으로 정렬
@Override
public List<DirectChatRoom> findForUser(User who) {
return jpaQueryFactory
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
public class GroupChatRoomRepositoryImpl implements GroupChatRoomRepositoryCustom {
private final JPAQueryFactory jpaQueryFactory;

//todo 최신순으로 정렬
@Override
public List<GroupChatRoom> findForUser(User who) {
return jpaQueryFactory
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
import org.springframework.messaging.simp.annotation.SubscribeMapping;
import org.springframework.web.bind.annotation.RestController;

//todo 프론트가 처음 채팅방진입시 채팅 로그와 함께 본인의 유저 기본키를 받을 수 있어야함.
@RestController
@RequiredArgsConstructor
@Tag(name = "chatting", description = "채팅 관련 API")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@
@NoArgsConstructor(access = AccessLevel.PROTECTED)
@Getter
@Builder
public class ChatMessageRes {//todo 리팩토링
public class ChatMessageRes {
private ChatMessageType type;

private String createdAt;

private String text;//일반 메세지용

private String emoticon;//이모티콘 메세지용 todo 추후에 enum으로 바꿀지 고민
private String emoticon;//이모티콘 메세지용

private String experienceType;//약속 메세지용

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ public enum Personality {

private final String description;

//todo ExperienceType 참고해서 of메서드로 수정
public static Personality of(String description) {
for (Personality personality : Personality.values()) {
if (personality.getDescription().equals(description)) {
Expand Down

0 comments on commit 9a1a6ae

Please sign in to comment.