mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-11-10 12:07:11 +01:00
Refactoring
This commit is contained in:
@@ -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())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user