File tree Expand file tree Collapse file tree 3 files changed +3
-13
lines changed
core/src/main/java/org/elasticsearch/action/admin/indices/rollover Expand file tree Collapse file tree 3 files changed +3
-13
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,9 @@ protected Condition(String name) {
5858 * Checks if this condition is available in a specific version.
5959 * This makes sure BWC when introducing a new condition which is not recognized by older versions.
6060 */
61- abstract boolean includedInVersion (Version version );
61+ boolean includedInVersion (Version version ) {
62+ return true ;
63+ }
6264
6365 @ Override
6466 public final String toString () {
Original file line number Diff line number Diff line change 1919
2020package org .elasticsearch .action .admin .indices .rollover ;
2121
22- import org .elasticsearch .Version ;
2322import org .elasticsearch .common .io .stream .StreamInput ;
2423import org .elasticsearch .common .io .stream .StreamOutput ;
2524import org .elasticsearch .common .unit .TimeValue ;
@@ -49,11 +48,6 @@ public Result evaluate(final Stats stats) {
4948 return new Result (this , this .value .getMillis () <= indexAge );
5049 }
5150
52- @ Override
53- boolean includedInVersion (Version version ) {
54- return true ;
55- }
56-
5751 @ Override
5852 public String getWriteableName () {
5953 return NAME ;
Original file line number Diff line number Diff line change 1919
2020package org .elasticsearch .action .admin .indices .rollover ;
2121
22- import org .elasticsearch .Version ;
2322import org .elasticsearch .common .io .stream .StreamInput ;
2423import org .elasticsearch .common .io .stream .StreamOutput ;
2524
@@ -47,11 +46,6 @@ public Result evaluate(final Stats stats) {
4746 return new Result (this , this .value <= stats .numDocs );
4847 }
4948
50- @ Override
51- boolean includedInVersion (Version version ) {
52- return true ;
53- }
54-
5549 @ Override
5650 public String getWriteableName () {
5751 return NAME ;
You can’t perform that action at this time.
0 commit comments