maidh91 / guava-libraries

Automatically exported from code.google.com/p/guava-libraries
Apache License 2.0
0 stars 0 forks source link

implement Splitter.omitSingleEmpty() #469

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
hi, please add a omitSingleEmpty() ability to Splitter that makes it return an 
empty Iterable if the underlying Iterable only contains a single empty string.

Sometimes this is more appropriate than omitEmptyStrings(), e.g. when you want 
to test for (and reject) empty items in your iterable, but allow an empty 
overall iterable.

Original issue reported on code.google.com by infinity0x@gmail.com on 5 Nov 2010 at 10:24

GoogleCodeExporter commented 9 years ago
This feels too "niche" for me; I suspect it would not get enough use.

Original comment by kevinb@google.com on 8 Dec 2010 at 3:35

GoogleCodeExporter commented 9 years ago

Original comment by kevinb@google.com on 12 Jan 2011 at 11:11

GoogleCodeExporter commented 9 years ago
This issue has been migrated to GitHub.

It can be found at https://github.com/google/guava/issues/<id>

Original comment by cgdecker@google.com on 1 Nov 2014 at 4:15

GoogleCodeExporter commented 9 years ago

Original comment by cgdecker@google.com on 3 Nov 2014 at 9:09