ciscozhou commented on code in PR #5225:
URL: https://github.com/apache/inlong/pull/5225#discussion_r930525233
##########
inlong-dataproxy/dataproxy-source/src/main/java/org/apache/inlong/dataproxy/http/MessageFilter.java:
##########
@@ -90,8 +90,7 @@ public void doFilter(ServletRequest request, ServletResponse
response, FilterCha
} else if (body.length() > maxMsgLength) {
LOG.warn("Received bad request from client. Body length is " +
body.length());
code = StatusCode.EXCEED_LEN;
- message = "Bad request from client. " + "Body length is " +
body.length()
- + ",exceeding the limit:" + maxMsgLength;
+ message = "Bad request from client. " + "Body length is
exceeding the limit:" + maxMsgLength;
Review Comment:
Not need use `+` to append the two strings.
--
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]