Skip to content

Commit

Permalink
[ISSUE #3955] delete useless check
Browse files Browse the repository at this point in the history
  • Loading branch information
wangfan committed Mar 10, 2022
1 parent 7a5d937 commit 14710c9
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -625,8 +625,6 @@ private CompletableFuture<RemotingCommand> asyncSendBatchMessage(ChannelHandlerC
return handlePutMessageResultFuture(putMessageResult, response, request, messageExtBatch, responseHeader, mqtraceContext, ctx, queueIdInt);
}



public boolean hasConsumeMessageHook() {
return consumeMessageHookList != null && !this.consumeMessageHookList.isEmpty();
}
Expand Down Expand Up @@ -715,9 +713,6 @@ private RemotingCommand preSend(ChannelHandlerContext ctx, RemotingCommand reque

response.setCode(-1);
super.msgCheck(ctx, requestHeader, response);
if (response.getCode() != -1) {
return response;
}

return response;
}
Expand Down

0 comments on commit 14710c9

Please sign in to comment.