File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ private static HeaderValueOption header(String key, String value) {
4747 @ Test
4848 public void filter_validationRules_dropsInvalidHeaders () throws Exception {
4949 HeaderMutationFilter filter = new HeaderMutationFilter (Optional .empty ());
50+ @ SuppressWarnings ("InlineMeInliner" )
5051 String longString = Strings .repeat ("a" , MAX_HEADER_LENGTH + 1 );
5152 ByteString longBytes = ByteString .copyFrom (new byte [MAX_HEADER_LENGTH + 1 ]);
5253
@@ -76,6 +77,7 @@ public void filter_validationRules_throwsOnInvalidHeaders() throws Exception {
7677 HeaderMutationRulesConfig rules =
7778 HeaderMutationRulesConfig .builder ().disallowIsError (true ).build ();
7879 HeaderMutationFilter filter = new HeaderMutationFilter (Optional .of (rules ));
80+ @ SuppressWarnings ("InlineMeInliner" )
7981 String longString = Strings .repeat ("a" , MAX_HEADER_LENGTH + 1 );
8082
8183 // Test system headers modification
You can’t perform that action at this time.
0 commit comments