Skip to content

Commit 502ea84

Browse files
committed
Reformat with scalafmt 3.9.7
Executed command: scalafmt --non-interactive
1 parent 03d2e71 commit 502ea84

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

code-gen/src/main/scala/scalapb/grpcweb/GrpcWebServicePrinter.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ final class GrpcWebServicePrinter(
104104

105105
private[this] def clientMethodImpl(m: MethodDescriptor): PrinterEndo = { p =>
106106
val (maybeObserver, methodName) = (m.streamType match {
107-
case StreamType.Unary => ("", "asyncUnaryCall")
107+
case StreamType.Unary => ("", "asyncUnaryCall")
108108
case StreamType.ServerStreaming =>
109109
(", responseObserver", "asyncServerStreamingCall")
110110
case _ => ???

grpcweb/src/main/scala/io/grpc/grpc.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ object Status {
301301
def valueOf(value: String): Code = {
302302
values.find(_.name() == value) match {
303303
case Some(code) => code
304-
case _ =>
304+
case _ =>
305305
throw new IllegalArgumentException(s"Unrecognized code: $value")
306306
}
307307
}

0 commit comments

Comments
 (0)