Fix compiling in TransportValidateQueryActionTests

This arose after a backport where we do not have the nicities of the
Java 11 diamond operator. This commit fixes it by adding the proper type
parameter.
This commit is contained in:
Jason Tedor 2020-05-05 07:35:13 -04:00
parent 410eb29937
commit c38388c506
No known key found for this signature in database
GPG Key ID: FA89F05560F16BC5
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ public class TransportValidateQueryActionTests extends ESSingleNodeTestCase {
*/
public void testListenerOnlyInvokedOnceWhenIndexDoesNotExist() {
final AtomicBoolean invoked = new AtomicBoolean();
final ActionListener<ValidateQueryResponse> listener = new ActionListener<>() {
final ActionListener<ValidateQueryResponse> listener = new ActionListener<ValidateQueryResponse>() {
@Override
public void onResponse(final ValidateQueryResponse validateQueryResponse) {