Skip to content

Commit ff4fefe

Browse files
committed
style: 불필요한 라인 삭제, 개행
1 parent 023526d commit ff4fefe

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

src/main/java/com/somemore/global/common/event/ServerEvent.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,8 @@
1010
@SuperBuilder
1111
public abstract class ServerEvent<T extends Enum<T>> {
1212

13-
@JsonProperty("type")
1413
private final ServerEventType type;
15-
16-
@JsonProperty("subType")
1714
private final T subType;
18-
19-
@JsonProperty("createdAt")
2015
private final LocalDateTime createdAt;
2116

2217
protected ServerEvent(

src/main/java/com/somemore/sse/sender/SseSenderImpl.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ public class SseSenderImpl implements SseSender {
2020
public <T> void send(SseEvent<T> sseEvent) {
2121
UUID receiverId = sseEvent.getReceiverId();
2222
emitterRepository.findAllByReceiverId(receiverId)
23-
.forEach((emitterId, emitter) -> sendEvent(emitterId, emitter, sseEvent));
23+
.forEach((emitterId, emitter)
24+
-> sendEvent(emitterId, emitter, sseEvent));
2425
}
2526

2627
private <T> void sendEvent(String emitterId,

0 commit comments

Comments
 (0)