|
16 | 16 |
|
17 | 17 | import java.util.ArrayList; |
18 | 18 | import java.util.Collections; |
19 | | -import java.util.List; |
20 | 19 | import java.util.Locale; |
21 | 20 | import java.util.stream.Collectors; |
22 | 21 | import java.util.stream.IntStream; |
23 | 22 |
|
24 | 23 | import static com.carrotsearch.randomizedtesting.RandomizedTest.getRandom; |
25 | 24 | import static org.elasticsearch.common.Strings.INVALID_CHARS; |
26 | 25 | import static org.elasticsearch.common.Strings.cleanTruncate; |
27 | | -import static org.elasticsearch.common.Strings.collectionToDelimitedString; |
28 | | -import static org.elasticsearch.common.Strings.collectionToDelimitedStringWithLimit; |
29 | 26 | import static org.elasticsearch.common.Strings.deleteAny; |
30 | 27 | import static org.elasticsearch.common.Strings.delimitedListToStringArray; |
31 | 28 | import static org.elasticsearch.common.Strings.hasLength; |
|
38 | 35 | import static org.elasticsearch.common.Strings.toLowercaseAscii; |
39 | 36 | import static org.elasticsearch.common.Strings.tokenizeByCommaToSet; |
40 | 37 | import static org.elasticsearch.common.Strings.trimLeadingCharacter; |
41 | | -import static org.hamcrest.Matchers.allOf; |
42 | 38 | import static org.hamcrest.Matchers.arrayContaining; |
43 | 39 | import static org.hamcrest.Matchers.containsString; |
44 | 40 | import static org.hamcrest.Matchers.emptyArray; |
45 | | -import static org.hamcrest.Matchers.endsWith; |
46 | 41 | import static org.hamcrest.Matchers.equalTo; |
47 | 42 | import static org.hamcrest.Matchers.hasToString; |
48 | 43 | import static org.hamcrest.Matchers.is; |
49 | | -import static org.hamcrest.Matchers.lessThanOrEqualTo; |
50 | 44 |
|
51 | 45 | public class StringsTests extends ESTestCase { |
52 | 46 |
|
|
0 commit comments