Skip to content

Commit

Permalink
unused import and identation
Browse files Browse the repository at this point in the history
  • Loading branch information
jkakavas committed Jul 12, 2018
1 parent c9008db commit 32a9b89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 1 addition & 2 deletions x-pack/qa/smoke-test-plugins-ssl/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import org.elasticsearch.gradle.test.NodeInfo

import javax.net.ssl.HttpsURLConnection
import javax.net.ssl.KeyManager
import javax.net.ssl.KeyManagerFactory
import javax.net.ssl.SSLContext
import javax.net.ssl.TrustManagerFactory
import java.nio.charset.StandardCharsets
Expand Down Expand Up @@ -76,7 +75,7 @@ integTestCluster {
keystoreSetting 'xpack.security.http.ssl.secure_key_passphrase', 'testnode'

setting 'xpack.ml.enabled', 'false'

// copy keystores, keys and certificates into config/
extraConfigFile nodeKeystore.name, nodeKeystore
extraConfigFile nodeKey.name, nodeKey
extraConfigFile nodeCert.name, nodeCert
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
import org.elasticsearch.xpack.sql.jdbc.jdbcx.JdbcDataSource;
import org.joda.time.DateTimeZone;
import org.junit.After;
import org.junit.ClassRule;
import org.junit.rules.ExternalResource;

import java.io.IOException;
import java.sql.Connection;
Expand Down Expand Up @@ -86,7 +84,7 @@ protected Connection useDataSource() throws SQLException {
public static void index(String index, CheckedConsumer<XContentBuilder, IOException> body) throws IOException {
index(index, "1", body);
}

public static void index(String index, String documentId, CheckedConsumer<XContentBuilder, IOException> body) throws IOException {
Request request = new Request("PUT", "/" + index + "/doc/" + documentId);
request.addParameter("refresh", "true");
Expand Down

0 comments on commit 32a9b89

Please sign in to comment.