diff --git a/backend/ddang/src/main/java/com/ddang/ddang/chat/handler/dto/SendMessageStatus.java b/backend/ddang/src/main/java/com/ddang/ddang/chat/handler/dto/SendMessageStatus.java index 0a7b7ba1f..d030f4801 100644 --- a/backend/ddang/src/main/java/com/ddang/ddang/chat/handler/dto/SendMessageStatus.java +++ b/backend/ddang/src/main/java/com/ddang/ddang/chat/handler/dto/SendMessageStatus.java @@ -4,6 +4,5 @@ public enum SendMessageStatus { SUCCESS, DISCONNECTED, - FORBIDDEN, - ; + FORBIDDEN } diff --git a/backend/ddang/src/main/java/com/ddang/ddang/websocket/handler/dto/ChattingType.java b/backend/ddang/src/main/java/com/ddang/ddang/websocket/handler/dto/ChattingType.java index 92d62a35b..8a8e7a361 100644 --- a/backend/ddang/src/main/java/com/ddang/ddang/websocket/handler/dto/ChattingType.java +++ b/backend/ddang/src/main/java/com/ddang/ddang/websocket/handler/dto/ChattingType.java @@ -8,7 +8,7 @@ public enum ChattingType { PING("ping"), ; - private String value; + private final String value; ChattingType(final String value) { this.value = value; diff --git a/backend/ddang/src/test/java/com/ddang/ddang/websocket/handler/dto/ChattingTypeTest.java b/backend/ddang/src/test/java/com/ddang/ddang/websocket/handler/dto/ChattingTypeTest.java index 52604aa02..db0da73ac 100644 --- a/backend/ddang/src/test/java/com/ddang/ddang/websocket/handler/dto/ChattingTypeTest.java +++ b/backend/ddang/src/test/java/com/ddang/ddang/websocket/handler/dto/ChattingTypeTest.java @@ -7,6 +7,7 @@ import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatThrownBy; +@SuppressWarnings("NonAsciiCharacters") class ChattingTypeTest { @Test