From b586465a4c15fadba3a01ff68990cd507fbc63d0 Mon Sep 17 00:00:00 2001 From: Adrien Grand Date: Fri, 19 Aug 2016 15:55:24 +0200 Subject: [PATCH] Make generics explicit to please ECJ. --- .../test/java/org/elasticsearch/cluster/ClusterModuleTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/test/java/org/elasticsearch/cluster/ClusterModuleTests.java b/core/src/test/java/org/elasticsearch/cluster/ClusterModuleTests.java index 6f2ede1c49f..9a7dc16a354 100644 --- a/core/src/test/java/org/elasticsearch/cluster/ClusterModuleTests.java +++ b/core/src/test/java/org/elasticsearch/cluster/ClusterModuleTests.java @@ -105,7 +105,7 @@ public class ClusterModuleTests extends ModuleTestCase { public void testRegisterAllocationDeciderDuplicate() { IllegalArgumentException e = expectThrows(IllegalArgumentException.class, () -> new ClusterModule(Settings.EMPTY, clusterService, - Collections.singletonList(new ClusterPlugin() { + Collections.singletonList(new ClusterPlugin() { @Override public Collection createAllocationDeciders(Settings settings, ClusterSettings clusterSettings) { return Collections.singletonList(new EnableAllocationDecider(settings, clusterSettings));