Skip to content

팀스페이스 리펙토링#56

Merged
kimmin1kk merged 9 commits intodevelopfrom
feature/43
Nov 1, 2024
Merged

팀스페이스 리펙토링#56
kimmin1kk merged 9 commits intodevelopfrom
feature/43

Conversation

@yejeii
Copy link
Contributor

@yejeii yejeii commented Oct 31, 2024

#43

@yejeii yejeii changed the title #43 팀스페이스 리펙토링 Oct 31, 2024
Copy link
Contributor

@kimmin1kk kimmin1kk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생하셨습니다 리뷰 확인해주세요~~

public ResponseEntity<SseEmitter> subscribe(@Parameter(hidden = true)Principal principal,
public ResponseEntity<SseEmitter> subscribe(@Parameter(hidden = true) Principal principal,
@RequestHeader(value = "Last-Event-ID", required = false, defaultValue = "") String lastEventId) {
log.info("user, lastEventId: {}, {}", principal.getName(), lastEventId);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

로그는 지워주셔도 될 거 같습니다!

public ResponseEntity<List<TeamSpaceUserResponseDTO>> getCrewProfile(@PathVariable("id") Long teamId, Principal principal) {
teamSpaceUserService.checkRole(teamId, principal.getName());
return ResponseEntity.status(HttpStatus.OK).body(teamService.getCrewProfile(teamId));
log.info(principal.toString());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

위와 동일합니다!

@NotBlank UserResponseDTO member,
// @NotBlank TeamSpaceRequestDTO teamSpace,
@NotBlank UserRequestDTO member,
// @NotBlank LocalDateTime createdAt,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

무의미한 주석이 남아있는 것 같아요! 확인부탁드립니다!

public record TeamSpaceUserResponseDTO( // 팀스페이스 멤버정보
public record TeamSpaceUserResponseDTO(
@NotNull Long id,
// @ToString.Exclude
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

위와 동일합니당


import java.util.Optional;

@Slf4j
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

사용되지 않고 있는 거 같아서 없애도 될 거 같아요!

Copy link
Contributor

@kimmin1kk kimmin1kk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생하셨습니다!!!

@kimmin1kk kimmin1kk merged commit d6e357a into develop Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants