jbertram commented on code in PR #4712:
URL: https://github.com/apache/activemq-artemis/pull/4712#discussion_r1427265058


##########
artemis-core-client/src/main/java/org/apache/activemq/artemis/core/remoting/impl/netty/NettyConnector.java:
##########
@@ -1170,6 +1187,9 @@ public void write(final ChannelHandlerContext ctx, final 
Object msg, ChannelProm
             ByteBuf buf = (ByteBuf) msg;
             FullHttpRequest httpRequest = new 
DefaultFullHttpRequest(HttpVersion.HTTP_1_1, HttpMethod.POST, url, buf);
             httpRequest.headers().add(HttpHeaderNames.HOST, 
NettyConnector.this.host);
+            for (Map.Entry<String, String> header :headers.entrySet()) {

Review Comment:
   Needs an extra space around the `:`, i.e.:
   ```java
   Map.Entry<String, String> header : headers.entrySet()
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to