fix checkstyle error in SearchDocumentationIT

This commit is contained in:
javanna 2018-02-02 14:05:03 +01:00 committed by Luca Cavanna
parent 45c1e37740
commit b5986c8dce
1 changed files with 2 additions and 2 deletions

View File

@ -355,7 +355,7 @@ public class SearchDocumentationIT extends ESRestHighLevelClientTestCase {
}
}
@SuppressWarnings("unused")
@SuppressWarnings({"unused", "rawtypes"})
public void testSearchRequestSuggestions() throws IOException {
RestHighLevelClient client = highLevelClient();
{
@ -667,7 +667,7 @@ public class SearchDocumentationIT extends ESRestHighLevelClientTestCase {
// Replace the empty listener by a blocking listener in test
final CountDownLatch clearScrollLatch = new CountDownLatch(1);
listener = new LatchedActionListener(listener, clearScrollLatch);
listener = new LatchedActionListener<>(listener, clearScrollLatch);
// tag::clear-scroll-execute-async
client.clearScrollAsync(request, listener); // <1>