SQL: Rename Strings.splitStringByCommaToSet to tokenizeByCommaToSet

Relates elastic/x-pack-elasticsearch#3265

Original commit: elastic/x-pack-elasticsearch@8b06b0688b
This commit is contained in:
Igor Motov 2017-12-08 13:52:08 -05:00
parent d3cd462700
commit 5d0b8ff796

View File

@ -556,7 +556,7 @@ public abstract class SqlSecurityTestCase extends ESRestTestCase {
} }
log.put("action", action); log.put("action", action);
// Use a sorted list for indices for consistent error reporting // Use a sorted list for indices for consistent error reporting
List<String> indices = new ArrayList<>(Strings.splitStringByCommaToSet(m.group(i++))); List<String> indices = new ArrayList<>(Strings.tokenizeByCommaToSet(m.group(i++)));
Collections.sort(indices); Collections.sort(indices);
if ("test_admin".equals(principal)) { if ("test_admin".equals(principal)) {
/* Sometimes we accidentally sneak access to the security tables. This is fine, SQL /* Sometimes we accidentally sneak access to the security tables. This is fine, SQL