Skip to content

Commit bbcd309

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent 04a597e commit bbcd309

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/search/SparseVectorQueryBuilderTests.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ public SparseVectorQueryBuilderTests() {
7474
// The sparse_vector field is not supported on versions 8.0 to 8.10. Because of this we'll only allow
7575
// index versions after its reintroduction.
7676
indexVersionToTest = randomBoolean()
77-
? IndexVersion.current()
78-
: IndexVersionUtils.randomVersionBetween(random(), IndexVersions.NEW_SPARSE_VECTOR, IndexVersion.current());
77+
? IndexVersion.current()
78+
: IndexVersionUtils.randomVersionBetween(random(), IndexVersions.NEW_SPARSE_VECTOR, IndexVersion.current());
7979
}
8080

8181
@Override
@@ -195,7 +195,10 @@ private boolean indexVersionSupportsIndexOptions() {
195195
return true;
196196
}
197197

198-
if (indexVersionToTest.between(IndexVersions.SPARSE_VECTOR_PRUNING_INDEX_OPTIONS_SUPPORT_BACKPORT_8_X, IndexVersions.UPGRADE_TO_LUCENE_10_0_0)) {
198+
if (indexVersionToTest.between(
199+
IndexVersions.SPARSE_VECTOR_PRUNING_INDEX_OPTIONS_SUPPORT_BACKPORT_8_X,
200+
IndexVersions.UPGRADE_TO_LUCENE_10_0_0
201+
)) {
199202
return true;
200203
}
201204

0 commit comments

Comments
 (0)