Description
final String apple = "apple"; final String banana = "banana"; final String orange = "orange"; final String expected = apple + SPACE + banana + SPACE + orange; final String actual = join(SPACE, apple, banana, orange); final int expLength = expected.length(); final int actLength = actual.length(); assertEquals(expLength, actLength); assertEquals(expected, actual);
I missed the functionality of joining strings with the space separator in one line. BTW, why space ' ' not a constant field anywhere?
Attachments
Attachments
Issue Links
- relates to
-
LANG-1032 void StringUtils.join( Iterable<String>, StringBuilder )
- Open