Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierCavadenti committed Jan 17, 2023
1 parent 39bca78 commit 4ea6df4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/kotlin/io/kuzzle/sdk/events/MessageReceivedEvent.kt
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ data class MessageReceivedEvent(
var status: Int = 200,
var headers: Headers? = null
) {
fun getHeadersMap() : Map<String, String> {
if(headers == null) {
fun getHeadersMap(): Map<String, String> {
if (headers == null) {
return emptyMap()
}
return headers!!.entries().associate { it.key to it.value.first() }
Expand Down

0 comments on commit 4ea6df4

Please sign in to comment.