Skip to content

Commit 20feb57

Browse files
committed
fix checkstyle
1 parent b76d860 commit 20feb57

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

servlet/src/main/java/io/grpc/servlet/AsyncServletOutputStreamWriter.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,8 @@ public void finest(String str, Object... params) {
127127
try {
128128
asyncContext.complete();
129129
} catch (IllegalStateException ignored) {
130-
// Tomcat can throw "Calling [asyncComplete()] is not valid for a request with Async state [COMPLETING]"
130+
// Tomcat can throw:
131+
// Calling [asyncComplete()] is not valid for a request with Async state [COMPLETING]
131132
}
132133
log.fine("call completed");
133134
});

servlet/src/main/java/io/grpc/servlet/ServletServerStream.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,8 @@ public void cancel(Status status) {
303303
try {
304304
asyncCtx.complete();
305305
} catch (IllegalStateException ignored) {
306-
// Tomcat can throw "Calling [asyncComplete()] is not valid for a request with Async state [COMPLETING]"
306+
// Tomcat can throw:
307+
// Calling [asyncComplete()] is not valid for a request with Async state [COMPLETING]
307308
}
308309
countDownLatch.countDown();
309310
});

0 commit comments

Comments
 (0)