Skip to content

Commit

Permalink
Remove unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-vieira committed Nov 2, 2023
1 parent ebc0385 commit 5837287
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
import org.junit.Before;

import java.io.IOException;
import java.util.Collections;
import java.util.List;

import static org.elasticsearch.common.Strings.hasText;
Expand Down Expand Up @@ -59,11 +58,6 @@ protected String getRemoteCluster() {
return System.getProperty("tests.rest.cluster.remote.host");
}

protected static RestHighLevelClient highLevelClient(RestClient client) {
return new RestHighLevelClient(client, ignore -> {}, Collections.emptyList()) {
};
}

protected static RestClient clientBuilder(Settings settings, HttpHost[] hosts) throws IOException {
RestClientBuilder builder = RestClient.builder(hosts);
doConfigureClient(builder, settings);
Expand Down

0 comments on commit 5837287

Please sign in to comment.