SQL: Rename Strings.splitStringByCommaToSet to tokenizeByCommaToSet
Relates elastic/x-pack-elasticsearch#3265 Original commit: elastic/x-pack-elasticsearch@8b06b0688b
This commit is contained in:
parent
d3cd462700
commit
5d0b8ff796
|
@ -556,7 +556,7 @@ public abstract class SqlSecurityTestCase extends ESRestTestCase {
|
|||
}
|
||||
log.put("action", action);
|
||||
// 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);
|
||||
if ("test_admin".equals(principal)) {
|
||||
/* Sometimes we accidentally sneak access to the security tables. This is fine, SQL
|
||||
|
|
Loading…
Reference in New Issue