Description
The javadoc states "Null objects [...] within the iteration are represented by empty strings".
But when there is exactly one element, Strings::join do not test if it is null.
Strings.join(Arrays.asList((String)null), '.')
returns "null" where I expected EMPTY ("")
Attachments
Issue Links
- links to