Skip to content

Commit 5fb98ff

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent 075e2ce commit 5fb98ff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

server/src/main/java/org/elasticsearch/index/codec/vectors/cluster/FloatVectorValuesSlice.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class FloatVectorValuesSlice extends FloatVectorValues {
2121
FloatVectorValuesSlice(FloatVectorValues allValues, int[] slice) {
2222
assert slice.length <= allValues.size();
2323
this.allValues = allValues;
24-
if(slice.length == allValues.size()) {
24+
if (slice.length == allValues.size()) {
2525
this.slice = null;
2626
} else {
2727
this.slice = slice;
@@ -34,7 +34,7 @@ class FloatVectorValuesSlice extends FloatVectorValues {
3434

3535
@Override
3636
public float[] vectorValue(int ord) throws IOException {
37-
if(this.slice == null) {
37+
if (this.slice == null) {
3838
return this.allValues.vectorValue(ord);
3939
} else {
4040
return this.allValues.vectorValue(this.slice[ord]);
@@ -48,7 +48,7 @@ public int dimension() {
4848

4949
@Override
5050
public int size() {
51-
if(slice == null) {
51+
if (slice == null) {
5252
return allValues.size();
5353
} else {
5454
return slice.length;

0 commit comments

Comments
 (0)