Refactoring

This commit is contained in:
Vitor Pamplona
2025-08-14 17:32:28 -04:00
parent 422a018a1f
commit 424d5ccc9c

View File

@@ -29,9 +29,6 @@ class NoticeMessage(
const val LABEL = "NOTICE"
@JvmStatic
fun parse(msgArray: JsonNode): NoticeMessage =
NoticeMessage(
msgArray.get(1).asText(),
)
fun parse(msgArray: JsonNode) = NoticeMessage(msgArray.get(1).asText())
}
}