public static String getString(final LocalDate time) {
return getString(time, DEFAULT_DATE_FORMATTER);
}
public static String getSortedString(final String separator, final List<String> stringList) {
String result = null;
<BUG>if (CollectionUtils.isNotEmpty(stringList)) {
</BUG>
result = stringList.stream().sorted().collect(Collectors.joining(separator));
}
return result;

public static String getString(final LocalDate time) {
return getString(time, DEFAULT_DATE_FORMATTER);
}
public static String getSortedString(final String separator, final List<String> stringList) {
String result = null;
if (Shortcuts.isNotEmpty(stringList)) {
result = stringList.stream().sorted().collect(Collectors.joining(separator));
}
return result;
