Skip to content

Commit 1594c52

Browse files
committed
Remove some warnings
1 parent 90b52c3 commit 1594c52

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/test/java/fr/pilato/test/elasticsearch/hlclient/EsClientIT.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@
7070

7171
import java.io.IOException;
7272
import java.io.InputStream;
73-
import java.io.Reader;
7473
import java.io.StringReader;
7574
import java.nio.charset.StandardCharsets;
7675
import java.sql.ResultSet;
@@ -207,7 +206,7 @@ void getDocument() throws IOException {
207206
final Map<String, Object> result = mapper.convertValue(getResponse.source(), new TypeReference<>() {});
208207
assertAll(
209208
() -> assertTrue(result.containsKey("foo")),
210-
() -> assertEquals(result.get("foo"), "bar"),
209+
() -> assertEquals("bar", result.get("foo")),
211210
() -> assertTrue(result.containsKey("application_id")),
212211
() -> assertEquals(6, result.get("application_id"))
213212
);

0 commit comments

Comments
 (0)