Skip to content

Commit 04c7516

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent 0f10c3f commit 04c7516

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/inference/ResolvedInferenceTests.java

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,10 @@ protected ResolvedInference mutateInstance(ResolvedInference instance) throws IO
3232

3333
@Override
3434
protected ResolvedInference copyInstance(ResolvedInference instance, TransportVersion version) throws IOException {
35-
return copyInstance(
36-
instance,
37-
getNamedWriteableRegistry(),
38-
(out, v) -> v.writeTo(out),
39-
in -> new ResolvedInference(in),
40-
version
41-
);
35+
return copyInstance(instance, getNamedWriteableRegistry(), (out, v) -> v.writeTo(out), in -> new ResolvedInference(in), version);
4236
}
4337

4438
private TaskType randomTaskType() {
4539
return randomFrom(TaskType.values());
4640
}
47-
}
41+
}

0 commit comments

Comments
 (0)