Skip to content

Commit 69c69d7

Browse files
author
github-actions
committed
chore: Java 스타일 수정
1 parent 9606b10 commit 69c69d7

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
lines changed

backend/src/main/java/io/f1/backend/domain/game/event/RoomCreatedEvent.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,4 @@
33
import io.f1.backend.domain.game.model.Room;
44
import io.f1.backend.domain.quiz.entity.Quiz;
55

6-
public record RoomCreatedEvent(Room room, Quiz quiz) {
7-
}
8-
6+
public record RoomCreatedEvent(Room room, Quiz quiz) {}
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.event;
22

3-
public record RoomDeletedEvent(Long roomId) {
4-
}
5-
3+
public record RoomDeletedEvent(Long roomId) {}

backend/src/main/java/io/f1/backend/domain/game/event/RoomUpdatedEvent.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@
33
import io.f1.backend.domain.game.model.Room;
44
import io.f1.backend.domain.quiz.entity.Quiz;
55

6-
public record RoomUpdatedEvent(Room room, Quiz quiz) {
7-
}
6+
public record RoomUpdatedEvent(Room room, Quiz quiz) {}

backend/src/main/java/io/f1/backend/domain/game/sse/listener/RoomCreatedEventListener.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
package io.f1.backend.domain.game.sse.listener;
22

3+
import static io.f1.backend.domain.game.sse.mapper.SseMapper.*;
4+
35
import io.f1.backend.domain.game.event.RoomCreatedEvent;
46
import io.f1.backend.domain.game.sse.app.SseService;
57
import io.f1.backend.domain.game.sse.dto.LobbySseEvent;
68
import io.f1.backend.domain.game.sse.dto.RoomCreatedPayload;
9+
710
import lombok.RequiredArgsConstructor;
11+
812
import org.springframework.context.event.EventListener;
913
import org.springframework.scheduling.annotation.Async;
1014
import org.springframework.stereotype.Component;
1115

12-
import static io.f1.backend.domain.game.sse.mapper.SseMapper.*;
13-
1416
@Component
1517
@RequiredArgsConstructor
1618
public class RoomCreatedEventListener {
@@ -23,5 +25,4 @@ public void roomCreate(RoomCreatedEvent event) {
2325
LobbySseEvent<RoomCreatedPayload> sseEvent = fromRoomCreated(event);
2426
sseService.notifyLobbyUpdate(sseEvent);
2527
}
26-
2728
}

backend/src/main/java/io/f1/backend/domain/game/sse/listener/RoomDeletedEventListener.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
package io.f1.backend.domain.game.sse.listener;
22

3+
import static io.f1.backend.domain.game.sse.mapper.SseMapper.*;
4+
35
import io.f1.backend.domain.game.event.RoomDeletedEvent;
46
import io.f1.backend.domain.game.sse.app.SseService;
57
import io.f1.backend.domain.game.sse.dto.LobbySseEvent;
68
import io.f1.backend.domain.game.sse.dto.RoomDeletedPayload;
9+
710
import lombok.RequiredArgsConstructor;
11+
812
import org.springframework.context.event.EventListener;
913
import org.springframework.scheduling.annotation.Async;
1014

11-
import static io.f1.backend.domain.game.sse.mapper.SseMapper.*;
12-
1315
@RequiredArgsConstructor
1416
public class RoomDeletedEventListener {
1517

backend/src/main/java/io/f1/backend/domain/game/sse/listener/RoomUpdatedEventListener.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
import io.f1.backend.domain.game.sse.dto.LobbySseEvent;
66
import io.f1.backend.domain.game.sse.dto.RoomUpdatedPayload;
77
import io.f1.backend.domain.game.sse.mapper.SseMapper;
8+
89
import lombok.RequiredArgsConstructor;
10+
911
import org.springframework.context.event.EventListener;
1012
import org.springframework.scheduling.annotation.Async;
1113

0 commit comments

Comments
 (0)