yanrongzhen commented on code in PR #4447:
URL: https://github.com/apache/eventmesh/pull/4447#discussion_r1332483035


##########
eventmesh-common/src/main/java/org/apache/eventmesh/common/config/FileLoad.java:
##########
@@ -70,13 +70,15 @@ class PropertiesFileLoad implements FileLoad {
         public <T> T getConfig(ConfigInfo configInfo) throws IOException {
             final Properties properties = new Properties();
             if (StringUtils.isNotBlank(configInfo.getResourceUrl())) {
-                try (BufferedReader reader = new BufferedReader(new 
InputStreamReader(
-                    
Objects.requireNonNull(getClass().getResourceAsStream(configInfo.getResourceUrl())),
 Constants.DEFAULT_CHARSET))) {
+                try (
+                    BufferedReader reader = new BufferedReader(new 
InputStreamReader(
+                        
Objects.requireNonNull(getClass().getResourceAsStream(configInfo.getResourceUrl())),
 Constants.DEFAULT_CHARSET))) {
                     properties.load(reader);

Review Comment:
   It has been fixed in new commits.



-- 
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]

Reply via email to