Skip to content

Commit d9b4f7b

Browse files
committed
Fix compile error from merge
1 parent 239ee4b commit d9b4f7b

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

x-pack/plugin/core/src/internalClusterTest/java/org/elasticsearch/xpack/core/action/DataStreamUsageTransportActionIT.java

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77

88
package org.elasticsearch.xpack.core.action;
99

10-
import org.elasticsearch.action.ActionRequest;
11-
import org.elasticsearch.action.ActionResponse;
1210
import org.elasticsearch.action.support.PlainActionFuture;
1311
import org.elasticsearch.cluster.ClusterState;
1412
import org.elasticsearch.cluster.ClusterStateUpdateTask;
@@ -27,6 +25,7 @@
2725
import org.elasticsearch.core.Tuple;
2826
import org.elasticsearch.index.Index;
2927
import org.elasticsearch.index.IndexMode;
28+
import org.elasticsearch.plugins.ActionPlugin;
3029
import org.elasticsearch.plugins.Plugin;
3130
import org.elasticsearch.protocol.xpack.XPackUsageRequest;
3231
import org.elasticsearch.test.ESIntegTestCase;
@@ -320,9 +319,9 @@ public void clusterStateProcessed(ClusterState oldState, ClusterState newState)
320319
*/
321320
public static final class TestDataStreamUsagePlugin extends XPackClientPlugin {
322321
@Override
323-
public List<ActionHandler<? extends ActionRequest, ? extends ActionResponse>> getActions() {
324-
List<ActionHandler<? extends ActionRequest, ? extends ActionResponse>> actions = new ArrayList<>();
325-
actions.add(new ActionHandler<>(DATA_STREAMS, DataStreamUsageTransportAction.class));
322+
public List<ActionHandler> getActions() {
323+
List<ActionHandler> actions = new ArrayList<>();
324+
actions.add(new ActionPlugin.ActionHandler(DATA_STREAMS, DataStreamUsageTransportAction.class));
326325
return actions;
327326
}
328327
}

0 commit comments

Comments
 (0)