-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Description
According to the Clean Code book this is ugly (very hard to read):
String actual = StringSplit.newSplit(3, true).split(DATA);
Maybe you could do:
String actual = StringSplit.newSplit(3).trimmed(true).split(DATA);
Off course, this can complicate your StringArraySplitterBuilder. So I'm not sure how it's feasible.
By the way, I would suggest to use trimmed=true as default. It seems most of the user will prefer this.