class YamlUtil {

    /**
     * 解析配置文件总的list行数据为数组
     *
     * @param list
     * @return
     */
    public static List<String> parseListArray(List<String> list) {<FILL_FUNCTION_BODY>}

}

        if (CollectionUtils.isEmpty(list)) {
            return null;
        }
        List<String> parseList = new ArrayList<>();
        for (String string : list) {
            if (StringUtils.isBlank(string)) {
                continue;
            }
            if (string.contains(CommonConstant.COMMA)) {
                String[] array = string.split(CommonConstant.COMMA);
                parseList.addAll(Arrays.asList(array));
            } else {
                parseList.add(string);
            }
        }
        return parseList;
    
<no_super_class>