-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
netty: add soft Metadata size limit enforcement. #11603
Conversation
@@ -217,6 +219,32 @@ public Void answer(InvocationOnMock invocation) throws Throwable { | |||
channelRead(serializedSettings); | |||
} | |||
|
|||
@Test | |||
@SuppressWarnings("InlineMeInliner") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What was wanting to be inlined?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The inliner wants me to use string.repeat()
instead of Strings.repeat()
but that method is JDK 11+. I am not sure we want to use JDK 11 methods even for tests, so I suppressed the warning.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:-/ . That sort of thing is going to get more annoying. But ignoring it is right. We'll often put a comment on the line with the annotation (e.g., // String.repeat() requires Java 11
) to make clear why it is there.
No description provided.