Move assignment outside if

Signed-off-by: Graham <gpe@openrs2.org>
Graham 2 years ago
parent 12eba96055
commit 54f2a44eab
  1. 6
      archive/src/main/kotlin/org/openrs2/archive/cache/nxt/Js5ResponseDecoder.kt

@ -38,10 +38,10 @@ public class Js5ResponseDecoder : ByteToMessageDecoder() {
request = Request(prefetch, archive, group) request = Request(prefetch, archive, group)
if (buffers.containsKey(request)) { state = if (buffers.containsKey(request)) {
state = State.READ_DATA State.READ_DATA
} else { } else {
state = State.READ_LEN State.READ_LEN
} }
} }

Loading…
Cancel
Save