From 5d0b8ff796446b7e531e9752b1b1e2ea9fac9e22 Mon Sep 17 00:00:00 2001 From: Igor Motov Date: Fri, 8 Dec 2017 13:52:08 -0500 Subject: [PATCH] SQL: Rename Strings.splitStringByCommaToSet to tokenizeByCommaToSet Relates elastic/x-pack-elasticsearch#3265 Original commit: elastic/x-pack-elasticsearch@8b06b0688b3c9e4f9997d3416bb1d5b349ea03c8 --- .../xpack/qa/sql/security/SqlSecurityTestCase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/SqlSecurityTestCase.java b/qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/SqlSecurityTestCase.java index d4bb306eefc..6f9f188d776 100644 --- a/qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/SqlSecurityTestCase.java +++ b/qa/sql/security/src/test/java/org/elasticsearch/xpack/qa/sql/security/SqlSecurityTestCase.java @@ -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 indices = new ArrayList<>(Strings.splitStringByCommaToSet(m.group(i++))); + List 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