mirror of
https://github.com/google/nomulus
synced 2026-04-26 19:15:24 +00:00
Clean up some code quality issues in GCP proxy
All changes are suggested by IntelliJ code inspection. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=189586104
This commit is contained in:
@@ -51,7 +51,7 @@ public class ProxyProtocolHandlerTest {
|
||||
|
||||
@Test
|
||||
public void testSuccess_proxyHeaderMalformed_singleFrame() {
|
||||
header = String.format("PROXY UNKNOWN\r\n");
|
||||
header = "PROXY UNKNOWN\r\n";
|
||||
String message = "some message";
|
||||
// Header processed, rest of the message passed along.
|
||||
assertThat(channel.writeInbound(Unpooled.wrappedBuffer((header + message).getBytes(UTF_8))))
|
||||
|
||||
Reference in New Issue
Block a user