File tree Expand file tree Collapse file tree 5 files changed +6
-5
lines changed
integ-test/src/test/java/org/opensearch/sql/legacy
legacy/src/main/java/org/opensearch/sql/legacy Expand file tree Collapse file tree 5 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 6
6
7
7
package org .opensearch .sql .legacy ;
8
8
9
+ import static org .opensearch .core .common .Strings .isNullOrEmpty ;
9
10
import static org .opensearch .sql .legacy .TestUtils .createIndexByRestClient ;
10
11
import static org .opensearch .sql .legacy .TestUtils .getAccountIndexMapping ;
11
12
import static org .opensearch .sql .legacy .TestUtils .getBankIndexMapping ;
@@ -98,7 +99,7 @@ public static void dumpCoverage() {
98
99
// jacoco.dir is set in sqlplugin-coverage.gradle, if it doesn't exist we don't
99
100
// want to collect coverage so we can return early
100
101
String jacocoBuildPath = System .getProperty ("jacoco.dir" );
101
- if (Strings . isNullOrEmpty (jacocoBuildPath )) {
102
+ if (isNullOrEmpty (jacocoBuildPath )) {
102
103
return ;
103
104
}
104
105
Original file line number Diff line number Diff line change 14
14
import java .util .HashMap ;
15
15
import java .util .List ;
16
16
import java .util .Map ;
17
- import org .opensearch .common .Strings ;
17
+ import org .opensearch .core . common .Strings ;
18
18
import org .opensearch .core .xcontent .ToXContent ;
19
19
import org .opensearch .index .query .MatchPhraseQueryBuilder ;
20
20
import org .opensearch .index .query .MatchQueryBuilder ;
Original file line number Diff line number Diff line change 12
12
import org .opensearch .OpenSearchException ;
13
13
import org .opensearch .action .search .SearchResponse ;
14
14
import org .opensearch .client .Client ;
15
- import org .opensearch .common .Strings ;
15
+ import org .opensearch .core . common .Strings ;
16
16
import org .opensearch .rest .BytesRestResponse ;
17
17
import org .opensearch .rest .RestChannel ;
18
18
import org .opensearch .rest .RestStatus ;
Original file line number Diff line number Diff line change 31
31
import org .opensearch .action .admin .indices .mapping .get .GetFieldMappingsResponse ;
32
32
import org .opensearch .action .search .ClearScrollResponse ;
33
33
import org .opensearch .client .Client ;
34
- import org .opensearch .common .Strings ;
35
34
import org .opensearch .common .document .DocumentField ;
35
+ import org .opensearch .core .common .Strings ;
36
36
import org .opensearch .search .SearchHit ;
37
37
import org .opensearch .search .SearchHits ;
38
38
import org .opensearch .search .aggregations .Aggregation ;
Original file line number Diff line number Diff line change 19
19
import java .util .stream .Collectors ;
20
20
import org .apache .commons .lang3 .StringUtils ;
21
21
import org .opensearch .common .ParsingException ;
22
- import org .opensearch .common .Strings ;
23
22
import org .opensearch .common .xcontent .LoggingDeprecationHandler ;
24
23
import org .opensearch .common .xcontent .json .JsonXContent ;
25
24
import org .opensearch .common .xcontent .json .JsonXContentParser ;
25
+ import org .opensearch .core .common .Strings ;
26
26
import org .opensearch .core .xcontent .NamedXContentRegistry ;
27
27
import org .opensearch .core .xcontent .XContentParser ;
28
28
import org .opensearch .geo .search .aggregations .bucket .geogrid .GeoHashGridAggregationBuilder ;
You can’t perform that action at this time.
0 commit comments