Skip to content

Commit c512117

Browse files
author
github-actions
committed
chore: Java 스타일 수정
1 parent aad1081 commit c512117

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

backend/src/main/java/io/f1/backend/domain/game/app/RoomService.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,8 @@ public void exitRoom(Long roomId, String sessionId, UserPrincipal principal) {
174174
/* 방 삭제 */
175175
if (isLastPlayer(room, sessionId)) {
176176
removeRoom(room);
177-
messageSender.send(destination, MessageType.EXIT_SUCCESS, new ExitSuccessResponse(true));
177+
messageSender.send(
178+
destination, MessageType.EXIT_SUCCESS, new ExitSuccessResponse(true));
178179
return;
179180
}
180181

@@ -193,9 +194,9 @@ public void exitRoom(Long roomId, String sessionId, UserPrincipal principal) {
193194

194195
messageSender.send(destination, MessageType.PLAYER_LIST, playerListResponse);
195196
messageSender.send(destination, MessageType.SYSTEM_NOTICE, systemNoticeResponse);
196-
messageSender.send(destination, MessageType.EXIT_SUCCESS, new ExitSuccessResponse(isRemoved));
197+
messageSender.send(
198+
destination, MessageType.EXIT_SUCCESS, new ExitSuccessResponse(isRemoved));
197199
}
198-
199200
}
200201

201202
public void handlePlayerReady(Long roomId, String sessionId) {
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
package io.f1.backend.domain.game.dto.response;
22

3-
public record ExitSuccessResponse(boolean isSuccess) {
4-
5-
}
3+
public record ExitSuccessResponse(boolean isSuccess) {}

0 commit comments

Comments
 (0)