You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by GitBox <gi...@apache.org> on 2022/07/27 06:09:24 UTC

[GitHub] [inlong] jun0315 commented on a diff in pull request #5225: [INLONG-5014][Improve] Fix the code scanning alerts exposed by CodeQL

jun0315 commented on code in PR #5225:
URL: https://github.com/apache/inlong/pull/5225#discussion_r930654088


##########
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:
   Thanks for your review, This is the code after I use the specified code style format. Will the last author not follow the format?



-- 
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: commits-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org