Use expression unwind behaviour (i.e. throw exceptions) in check / joining / joiningDistinct

This commit is contained in:
Reinhard Pointner 2016-10-10 21:31:39 +08:00
parent 2e5484d2ec
commit 2cdebbfbd1
1 changed files with 1 additions and 1 deletions

View File

@ -395,7 +395,7 @@ public class ExpressionFormatMethods {
} }
// sort unique // sort unique
String[] list = stream.map(Objects::toString).filter(s -> !s.isEmpty()).distinct().sorted(String.CASE_INSENSITIVE_ORDER).toArray(String[]::new); String[] list = stream.map(Objects::toString).filter(s -> !s.isEmpty()).distinct().sorted().toArray(String[]::new);
if (list.length > 0) { if (list.length > 0) {
return String.join(delimiter, list); return String.join(delimiter, list);
} }