Use expression unwind behaviour (i.e. throw exceptions) in check / joining / joiningDistinct
This commit is contained in:
parent
2e5484d2ec
commit
2cdebbfbd1
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue