Skip to content

Commit

Permalink
trivial cleanups (apache#3403)
Browse files Browse the repository at this point in the history
  • Loading branch information
liurongdev authored and zhongxiong.zeng committed Jan 17, 2022
1 parent 97164d7 commit 8c55d79
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,7 @@ protected SendMessageContext buildMsgContext(ChannelHandlerContext ctx,
return null;
}
String namespace = NamespaceUtil.getNamespaceFromResource(requestHeader.getTopic());
SendMessageContext mqtraceContext;
mqtraceContext = new SendMessageContext();
SendMessageContext mqtraceContext = new SendMessageContext();
mqtraceContext.setProducerGroup(requestHeader.getProducerGroup());
mqtraceContext.setNamespace(namespace);
mqtraceContext.setTopic(requestHeader.getTopic());
Expand Down

0 comments on commit 8c55d79

Please sign in to comment.