Skip to content

Commit 49d97dd

Browse files
elasticsearchmachinejan-elastic
authored andcommitted
[CI] Auto commit changes from spotless
1 parent e092b7f commit 49d97dd

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

x-pack/plugin/inference/qa/inference-service-tests/src/javaRestTest/java/org/elasticsearch/xpack/inference/InferenceBaseRestTest.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@
2626
import org.elasticsearch.xcontent.XContentFactory;
2727
import org.elasticsearch.xcontent.XContentType;
2828
import org.elasticsearch.xpack.inference.external.response.streaming.ServerSentEvent;
29-
import org.junit.AfterClass;
30-
import org.junit.BeforeClass;
3129
import org.junit.ClassRule;
3230

3331
import java.io.IOException;

x-pack/plugin/inference/qa/inference-service-tests/src/javaRestTest/java/org/elasticsearch/xpack/inference/MlModelServer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ private void handle(HttpExchange exchange) throws IOException {
108108
logger.info("Response: {} {}", fileName, httpStatus);
109109
exchange.sendResponseHeaders(httpStatus, numBytes);
110110
while (numBytes > 0) {
111-
byte[] bytes = is.readNBytes(Math.min(1<<20, numBytes));
111+
byte[] bytes = is.readNBytes(Math.min(1 << 20, numBytes));
112112
os.write(bytes);
113113
numBytes -= bytes.length;
114114
}

0 commit comments

Comments
 (0)