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:
parent
410eb29937
commit
c38388c506
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue