From 478cd7804710d4a81aec3995fe3415e562708be0 Mon Sep 17 00:00:00 2001 From: javanna Date: Tue, 13 Dec 2016 15:01:51 +0100 Subject: [PATCH] Remove unused import from RequestLogger Not only was StringJoiner unused, it's also a class only available in java 1.8, which is a problem given that the REST client has minimum java required set to 1.7 --- .../src/main/java/org/elasticsearch/client/RequestLogger.java | 1 - 1 file changed, 1 deletion(-) diff --git a/client/rest/src/main/java/org/elasticsearch/client/RequestLogger.java b/client/rest/src/main/java/org/elasticsearch/client/RequestLogger.java index 24e09364c22..7312d33c9fb 100644 --- a/client/rest/src/main/java/org/elasticsearch/client/RequestLogger.java +++ b/client/rest/src/main/java/org/elasticsearch/client/RequestLogger.java @@ -37,7 +37,6 @@ import java.io.IOException; import java.io.InputStreamReader; import java.nio.charset.Charset; import java.nio.charset.StandardCharsets; -import java.util.StringJoiner; /** * Helper class that exposes static methods to unify the way requests are logged.