[2.x] refactor: Remove unnecessary match (#9539)

This commit is contained in:
kenji yoshida
2026-08-02 05:41:01 -04:00
committed by GitHub
parent c407f37739
commit 040eaaa062
2 changed files with 4 additions and 4 deletions
@@ -104,7 +104,7 @@ private[sbt] class ServerSessionImpl(
.deserializeJsonMessage(frame)
.fold(
errorDesc => onInvalidFrame(frame, errorDesc),
_ match {
{
case msg: JsonRpcRequestMessage => onRequest(msg)
case msg: JsonRpcResponseMessage => onResponse(msg)
case msg: JsonRpcNotificationMessage => onNotification(msg)