yanrongzhen commented on code in PR #4447:
URL: https://github.com/apache/eventmesh/pull/4447#discussion_r1328611981
##########
eventmesh-webhook/eventmesh-webhook-admin/src/main/java/org/apache/eventmesh/webhook/admin/FileWebHookConfigOperation.java:
##########
@@ -159,8 +159,9 @@ public List<WebHookConfig>
queryWebHookConfigByManufacturer(final WebHookConfig
private WebHookConfig getWebHookConfigFromFile(final File
webhookConfigFile) {
final StringBuilder fileContent = new StringBuilder();
- try (BufferedReader br =
Files.newBufferedReader(Paths.get(webhookConfigFile.getAbsolutePath()),
- StandardCharsets.UTF_8)) {
+ try (
+ BufferedReader br =
Files.newBufferedReader(Paths.get(webhookConfigFile.getAbsolutePath()),
+ StandardCharsets.UTF_8)) {
String line;
Review Comment:
I have not found a good solution at present, which may be caused by other
limitations. I expect continuous improvement through the eventmesh community in
the future.
--
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]