mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 10:25:15 +00:00
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);
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user