Skip to content

Commit

Permalink
Add a comment for SuppressWarnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
ran-su authored Oct 28, 2024
1 parent 8ced5de commit 07117cb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ public void sendLargerThanSoftLimitHeaderMayFail() throws Exception {
.add(as("auth"), as("sometoken"))
.add(CONTENT_TYPE_HEADER, CONTENT_TYPE_GRPC)
.add(TE_HEADER, TE_TRAILERS)
.add("large-field", Strings.repeat("a", 7620));
.add("large-field", Strings.repeat("a", 7620)); // String.repeat() requires Java 11

ByteBuf headersFrame = headersFrame(STREAM_ID, headers);
channelRead(headersFrame);
Expand Down

0 comments on commit 07117cb

Please sign in to comment.