Skip to content

Commit 4fa56da

Browse files
Fix compilation
1 parent 60e3347 commit 4fa56da

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/LocalStateCompositeXPackPlugin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ public List<ActionFilter> getActionFilters() {
243243
}
244244

245245
@Override
246-
public Collection<RestHandler> getRestHandlers(
246+
public List<RestHandler> getRestHandlers(
247247
RestHandlersServices restHandlersServices,
248248
Supplier<DiscoveryNodes> nodesInCluster,
249249
Predicate<NodeFeature> clusterSupportsFeature

x-pack/plugin/ent-search/src/test/java/org/elasticsearch/xpack/application/LocalStateEnterpriseSearch.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public List<ActionHandler> getActions() {
6363
}
6464

6565
@Override
66-
public Collection<RestHandler> getRestHandlers(
66+
public List<RestHandler> getRestHandlers(
6767
RestHandlersServices restHandlersServices,
6868
Supplier<DiscoveryNodes> nodesInCluster,
6969
Predicate<NodeFeature> clusterSupportsFeature

0 commit comments

Comments
 (0)