Skip to content

Commit 1810256

Browse files
committed
fix format
1 parent c2ec843 commit 1810256

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

netty/src/main/java/io/grpc/netty/NettyServerHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -872,7 +872,7 @@ public boolean visit(Http2Stream stream) throws Http2Exception {
872872
}
873873

874874
private void respondWithHttpError(
875-
ChannelHandlerContext ctx, int streamId, int code, Status.Code statusCode, String msg) {
875+
ChannelHandlerContext ctx, int streamId, int code, Status.Code statusCode, String msg) {
876876
respondWithHttpError(ctx, streamId, code, statusCode, msg, EmptyHttp2Headers.INSTANCE);
877877
}
878878

okhttp/src/main/java/io/grpc/okhttp/OkHttpServerTransport.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1068,7 +1068,7 @@ private void streamError(int streamId, ErrorCode errorCode, String reason) {
10681068
}
10691069

10701070
private void respondWithHttpError(
1071-
int streamId, boolean inFinished, int httpCode, Status.Code statusCode, String msg) {
1071+
int streamId, boolean inFinished, int httpCode, Status.Code statusCode, String msg) {
10721072
respondWithHttpError(streamId, inFinished, httpCode, statusCode, msg, Collections.emptyList());
10731073
}
10741074

0 commit comments

Comments
 (0)