void (Collection<String> collection, @Nullable String commaSeparatedList) { if (commaSeparatedList != null) { for (String s : StringUtil.split(commaSeparatedList, ",")) { collection.add(s.trim()); } } }