diff --git a/x-pack/plugin/shutdown/src/internalClusterTest/java/org/elasticsearch/xpack/shutdown/NodeShutdownTasksIT.java b/x-pack/plugin/shutdown/src/internalClusterTest/java/org/elasticsearch/xpack/shutdown/NodeShutdownTasksIT.java index 6c5e1e6af69ce..8428416908679 100644 --- a/x-pack/plugin/shutdown/src/internalClusterTest/java/org/elasticsearch/xpack/shutdown/NodeShutdownTasksIT.java +++ b/x-pack/plugin/shutdown/src/internalClusterTest/java/org/elasticsearch/xpack/shutdown/NodeShutdownTasksIT.java @@ -184,7 +184,7 @@ public List getNamedXContent() { } } - public static class TaskExecutor extends PersistentTasksExecutor implements ClusterStateListener { + public static final class TaskExecutor extends PersistentTasksExecutor implements ClusterStateListener { private final PersistentTasksService persistentTasksService;