OpenSearch/core
Jason Tedor 5c9415a4d3
Cleanup split strings by comma method
We have some methods Strings#splitStringByCommaToArray and
Strings#splitStringByCommaToSet. It is not obvious that the former
leaves whitespace and the latter trims it. We also have
Strings#tokenizeToStringArray which tokenizes a string to an array, and
trims whitespace. It seems the right thing to do here is to rename
Strings#splitStringByCommaToSet to Strings#tokenizeByCommaToSet so that
its name is aligned with another method that tokenizes by a delimiter
and trims whitespace. We also cleanup the code here, removing an
unneeded splitting by delimiter to set method.

Relates #27715
2017-12-08 12:17:12 -05:00
..
cli Ensure logging is configured for CLI commands 2017-11-25 11:40:08 -05:00
licenses Upgrade to lucene-7.2.0-snapshot-8c94404. (#27619) 2017-12-04 09:40:08 +01:00
src Cleanup split strings by comma method 2017-12-08 12:17:12 -05:00
build.gradle Tighten which classes can exit 2017-11-21 16:37:41 -05:00