Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
All
Description
splitEachLine() wraps the result of the split in a (useless) single element list. Instead it should work like this:
void testSplitEachLine() {
String s = """A B C D
E F G H
"""
Reader reader = new StringReader(s)
reader.splitEachLine(" ")
}