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: commits-unsubscr...@doris.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to