yanrongzhen commented on code in PR #4447:
URL: https://github.com/apache/eventmesh/pull/4447#discussion_r1328545951
##########
eventmesh-webhook/eventmesh-webhook-receive/src/main/java/org/apache/eventmesh/webhook/receive/WebHookController.java:
##########
@@ -93,7 +93,7 @@ public void execute(String path, Map<String, String> header,
byte[] body) throws
if (!Objects.equals(webHookConfig.getContentType(),
header.get(CONTENT_TYPE))) {
throw new Exception(
- "http request header content-type value is mismatch. current
value " + header.get(CONTENT_TYPE));
+ "http request header content-type value is mismatch.
current value " + header.get(CONTENT_TYPE));
}
Review Comment:
I think the spotless conversion rules belong to the **constraints of
eventmesh** for developers' coding specifications, and **do not necessarily
have to be exactly the same as IDEA's own rules**.
We can use the IDEA plug-in Eclipse Code Formatter to replace the original
formatting function of IntelliJ IDEA with format rule, so that in the process
of writing code can be formatted at any time, which greatly improves
development efficiency.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]