Skip to content

Commit

Permalink
Support win path separators for folders to scan setting
Browse files Browse the repository at this point in the history
  • Loading branch information
BoykoAlex committed Dec 19, 2024
1 parent 49d6775 commit 139da4c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public boolean isJavaEmbeddedLanguagesSyntaxHighlighting() {
public String[] xmlBeansFoldersToScan() {
String foldersStr = settings.getString("boot-java", "support-spring-xml-config", "scan-folders");
if (foldersStr != null) {
foldersStr = foldersStr.trim();
foldersStr = foldersStr.trim().replace("/", File.separator);
}
String[] folders = foldersStr == null || foldersStr.isEmpty()? new String[0] : foldersStr.split("\\s*,\\s*");
List<String> cleanedFolders = new ArrayList<>(folders.length);
Expand Down

0 comments on commit 139da4c

Please sign in to comment.