public static List<String> parseCsvList(String csvList) {
        if (csvList == null || csvList.isEmpty()) {
            return Collections.emptyList();
        } else {
            return Stream.of(csvList.split("\\s*,\\s*")).filter(v -> !v.isEmpty()).collect(Collectors.toList());
        }
    }
@Test
    public void testCsvList() {
        List<String> emptyList = Csv.parseCsvList("");
        assertEquals(Collections.emptyList(), emptyList);

        List<String> emptyListFromNullString = Csv.parseCsvList(null);
        assertEquals(Collections.emptyList(), emptyListFromNullString);

        List<String> csvList = Csv.parseCsvList("a,b ,c, d,,e,");
        assertEquals(Arrays.asList("a", "b", "c", "d", "e"), csvList);
    }