mirror of
https://github.com/sbt/sbt.git
synced 2026-09-03 16:39:24 +02:00
[2.x] refactor: Remove unnecessary match (#9539)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user