From 7d9b009cdfdaadcbed82392f4205871eeae31be1 Mon Sep 17 00:00:00 2001 From: Aayush Atharva Date: Mon, 2 Nov 2020 13:19:13 +0530 Subject: [PATCH] Fix typo in Http2FrameCodec#write(...) comment Motivation: `Http2FrameCodec#write(...)` has typo in comment. `// In the event of manual SETTINGS ACK is is assumed the encoder will apply the earliest received but not`. The typo is `is is`. However, it should be `it is`. Modification: Changed `is is` to `it is`. Result: Correct comment without typos. --- .../main/java/io/netty/handler/codec/http2/Http2FrameCodec.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codec-http2/src/main/java/io/netty/handler/codec/http2/Http2FrameCodec.java b/codec-http2/src/main/java/io/netty/handler/codec/http2/Http2FrameCodec.java index 7624a1af0a..f0ea63f159 100644 --- a/codec-http2/src/main/java/io/netty/handler/codec/http2/Http2FrameCodec.java +++ b/codec-http2/src/main/java/io/netty/handler/codec/http2/Http2FrameCodec.java @@ -319,7 +319,7 @@ public class Http2FrameCodec extends Http2ConnectionHandler { } else if (msg instanceof Http2SettingsFrame) { encoder().writeSettings(ctx, ((Http2SettingsFrame) msg).settings(), promise); } else if (msg instanceof Http2SettingsAckFrame) { - // In the event of manual SETTINGS ACK is is assumed the encoder will apply the earliest received but not + // In the event of manual SETTINGS ACK, it is assumed the encoder will apply the earliest received but not // yet ACKed settings. encoder().writeSettingsAck(ctx, promise); } else if (msg instanceof Http2GoAwayFrame) {