CalvinKirs commented on code in PR #49932:
URL: https://github.com/apache/doris/pull/49932#discussion_r2036380132


##########
fe/fe-common/src/main/java/org/apache/doris/common/CatalogConfigFileUtils.java:
##########
@@ -52,7 +52,7 @@ private static <T> T loadConfigFromDir(String resourcesPath, 
String configDir,
         // Iterate over the comma-separated list of resource files.
         for (String resource : resourcesPath.split(",")) {
             // Construct the full path to the resource file.
-            String resourcePath = configDir + File.separator + resource.trim();
+            String resourcePath = configDir + resource.trim();

Review Comment:
   It is best to determine whether the user's configuration contains file 
separators



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