Skip to content

Commit 6d9cecc

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent a16b687 commit 6d9cecc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

x-pack/plugin/inference/src/test/java/org/elasticsearch/xpack/inference/mapper/SemanticTextFieldMapperTests.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -795,7 +795,7 @@ private static void assertSemanticTextField(
795795

796796
SparseVectorFieldMapper.SparseVectorIndexOptions applied = sparseVectorFieldMapper.fieldType().getIndexOptions();
797797
SparseVectorFieldMapper.SparseVectorIndexOptions expected = (expectedIndexOptions != null)
798-
? (SparseVectorFieldMapper.SparseVectorIndexOptions)expectedIndexOptions.indexOptions()
798+
? (SparseVectorFieldMapper.SparseVectorIndexOptions) expectedIndexOptions.indexOptions()
799799
: SparseVectorFieldMapper.SparseVectorIndexOptions.getDefaultIndexOptions(indexVersion);
800800
assertEquals(expected, applied);
801801
}
@@ -1408,7 +1408,8 @@ public void testDefaultIndexOptions() throws IOException {
14081408
random(),
14091409
IndexVersions.UPGRADE_TO_LUCENE_10_0_0,
14101410
IndexVersionUtils.getPreviousVersion(IndexVersions.SPARSE_VECTOR_PRUNING_INDEX_OPTIONS_SUPPORT)
1411-
) : IndexVersionUtils.randomVersionBetween(
1411+
)
1412+
: IndexVersionUtils.randomVersionBetween(
14121413
random(),
14131414
IndexVersions.SPARSE_VECTOR_PRUNING_INDEX_OPTIONS_SUPPORT,
14141415
IndexVersion.current()

0 commit comments

Comments
 (0)