optimized: 简化正则表达式,让它看起来更加的直观

This commit is contained in:
119431682@qq.com
2022-06-19 17:06:54 +08:00
parent db5899ac6e
commit cea575c4d3

View File

@@ -90,7 +90,7 @@ public class FlowExecutor {
return;
}
List<String> sourceRulePathList = Lists.newArrayList(liteflowConfig.getRuleSource().split(",|;"));
List<String> sourceRulePathList = Lists.newArrayList(liteflowConfig.getRuleSource().split("[,;]"));
FlowParser parser = null;
Set<String> parserNameSet = new HashSet<>();