Skip to content

Commit

Permalink
remove some useless things
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierCavadenti committed May 13, 2022
1 parent 72adda4 commit c402bf8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class RealtimeController(kuzzle: Kuzzle) : BaseController(kuzzle) {
)

init {
kuzzle.protocol.addListener<UnhandledResponseEvent>() {
kuzzle.protocol.addListener<UnhandledResponseEvent> {
val response = Response().apply {
fromMap(JsonSerializer.deserialize(it.message) as Map<String?, Any?>)
}
Expand All @@ -50,7 +50,7 @@ class RealtimeController(kuzzle: Kuzzle) : BaseController(kuzzle) {
}
}

kuzzle.protocol.addListener<NetworkStateChangeEvent>() {
kuzzle.protocol.addListener<NetworkStateChangeEvent> {
if (it.state == ProtocolState.CLOSE) {
currentSubscriptions.clear()
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class KuzzleMap : HashMap<String?, Any?> {
/**
* Create a new instance of CustomMap
*/
constructor() : super() {}
constructor() : super()

/**
* Create a new instance of CustomMap from a Map<String></String>,
Expand Down

0 comments on commit c402bf8

Please sign in to comment.