Skip to content

Commit

Permalink
fix: outgoing message encoder line length (linter)
Browse files Browse the repository at this point in the history
  • Loading branch information
Z-Kris committed Sep 23, 2024
1 parent 920ac90 commit 97a3d81
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ public abstract class OutgoingMessageEncoder : MessageToByteEncoder<OutgoingMess
if (length !in 0..MAX_UBYTE_PAYLOAD_SIZE) {
out.writerIndex(startMarker)
logger.warn {
"Server prot $prot length out of bounds; expected 0..255, received $length; message: $msg"
"Server prot $prot length out of bounds; " +
"expected 0..255, received $length; message: $msg"
}
return
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ public abstract class OutgoingMessageEncoder : MessageToByteEncoder<OutgoingMess
if (length !in 0..MAX_UBYTE_PAYLOAD_SIZE) {
out.writerIndex(startMarker)
logger.warn {
"Server prot $prot length out of bounds; expected 0..255, received $length; message: $msg"
"Server prot $prot length out of bounds; " +
"expected 0..255, received $length; message: $msg"
}
return
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ public abstract class OutgoingMessageEncoder : MessageToByteEncoder<OutgoingMess
if (length !in 0..MAX_UBYTE_PAYLOAD_SIZE) {
out.writerIndex(startMarker)
logger.warn {
"Server prot $prot length out of bounds; expected 0..255, received $length; message: $msg"
"Server prot $prot length out of bounds; " +
"expected 0..255, received $length; message: $msg"
}
return
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ public abstract class OutgoingMessageEncoder : MessageToByteEncoder<OutgoingMess
if (length !in 0..MAX_UBYTE_PAYLOAD_SIZE) {
out.writerIndex(startMarker)
logger.warn {
"Server prot $prot length out of bounds; expected 0..255, received $length; message: $msg"
"Server prot $prot length out of bounds; " +
"expected 0..255, received $length; message: $msg"
}
return
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ public abstract class OutgoingMessageEncoder : MessageToByteEncoder<OutgoingMess
if (length !in 0..MAX_UBYTE_PAYLOAD_SIZE) {
out.writerIndex(startMarker)
logger.warn {
"Server prot $prot length out of bounds; expected 0..255, received $length; message: $msg"
"Server prot $prot length out of bounds; " +
"expected 0..255, received $length; message: $msg"
}
return
}
Expand Down

0 comments on commit 97a3d81

Please sign in to comment.