Skip to content

Commit 5d2a2d3

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent abff092 commit 5d2a2d3

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference/services/elastic/authorization/ElasticInferenceServiceAuthorizationModel.java

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -164,10 +164,13 @@ public int hashCode() {
164164

165165
@Override
166166
public String toString() {
167-
return "{" +
168-
"taskTypeToModels=" + taskTypeToModels +
169-
", authorizedTaskTypes=" + authorizedTaskTypes +
170-
", authorizedModelIds=" + authorizedModelIds +
171-
'}';
167+
return "{"
168+
+ "taskTypeToModels="
169+
+ taskTypeToModels
170+
+ ", authorizedTaskTypes="
171+
+ authorizedTaskTypes
172+
+ ", authorizedModelIds="
173+
+ authorizedModelIds
174+
+ '}';
172175
}
173176
}

x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference/services/elastic/response/ElasticInferenceServiceAuthorizationResponseEntity.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,9 @@
88
package org.elasticsearch.xpack.inference.services.elastic.response;
99

1010
import org.elasticsearch.common.Strings;
11-
import org.elasticsearch.common.bytes.BytesReference;
1211
import org.elasticsearch.common.io.stream.StreamInput;
1312
import org.elasticsearch.common.io.stream.StreamOutput;
1413
import org.elasticsearch.common.io.stream.Writeable;
15-
import org.elasticsearch.common.xcontent.ChunkedToXContentHelper;
1614
import org.elasticsearch.common.xcontent.LoggingDeprecationHandler;
1715
import org.elasticsearch.inference.InferenceResults;
1816
import org.elasticsearch.inference.InferenceServiceResults;
@@ -28,12 +26,10 @@
2826
import org.elasticsearch.xcontent.XContentParser;
2927
import org.elasticsearch.xcontent.XContentParserConfiguration;
3028
import org.elasticsearch.xcontent.XContentType;
31-
import org.elasticsearch.xcontent.json.JsonXContent;
3229
import org.elasticsearch.xpack.inference.external.http.HttpResult;
3330
import org.elasticsearch.xpack.inference.external.request.Request;
3431

3532
import java.io.IOException;
36-
import java.util.Arrays;
3733
import java.util.EnumSet;
3834
import java.util.Iterator;
3935
import java.util.List;

0 commit comments

Comments
 (0)