diff --git a/x-pack/plugin/src/main/java/org/elasticsearch/xpack/indexlifecycle/LifecyclePolicy.java b/x-pack/plugin/src/main/java/org/elasticsearch/xpack/indexlifecycle/LifecyclePolicy.java index 79462bfdf18..f61f3db3e12 100644 --- a/x-pack/plugin/src/main/java/org/elasticsearch/xpack/indexlifecycle/LifecyclePolicy.java +++ b/x-pack/plugin/src/main/java/org/elasticsearch/xpack/indexlifecycle/LifecyclePolicy.java @@ -222,8 +222,6 @@ public abstract class LifecyclePolicy extends AbstractDiffable *

* Concrete {@link LifecyclePolicy} classes will implement this to help determine their specific * ordering of actions for the phases they allow. - *


-     * 
*/ @FunctionalInterface interface NextActionProvider { diff --git a/x-pack/plugin/src/main/java/org/elasticsearch/xpack/indexlifecycle/TimeseriesLifecyclePolicy.java b/x-pack/plugin/src/main/java/org/elasticsearch/xpack/indexlifecycle/TimeseriesLifecyclePolicy.java index 48531f4cc4d..fa2ab7d05f0 100644 --- a/x-pack/plugin/src/main/java/org/elasticsearch/xpack/indexlifecycle/TimeseriesLifecyclePolicy.java +++ b/x-pack/plugin/src/main/java/org/elasticsearch/xpack/indexlifecycle/TimeseriesLifecyclePolicy.java @@ -111,11 +111,11 @@ public class TimeseriesLifecyclePolicy extends LifecyclePolicy { * on whether it increases, decreases, or keeps the existing replica count. If number-of-replicas is * kept the same, or reduced, then {@link ReplicasAction} is executed first, otherwise, it is last. * So the ordering looks something like this: - * - {@link ReplicasAction} (if action.number_of_replicas <= idxMeta.number_of_replicas) + * - {@link ReplicasAction} (if action.number_of_replicas lte idxMeta.number_of_replicas) * - {@link AllocateAction} * - {@link ShrinkAction} * - {@link ForceMergeAction} - * - {@link ReplicasAction} (if action.number_of_replicas > idxMeta.number_of_replicas) + * - {@link ReplicasAction} (if action.number_of_replicas gt idxMeta.number_of_replicas) * * NOCOMMIT: there may exist further optimizations to this when {@link ShrinkAction} is specified. *