Skip to content

Commit 1033c36

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent c7379d5 commit 1033c36

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference/services/ServiceUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@ public static ElasticsearchStatusException createInvalidModelException(Model mod
716716
RestStatus.INTERNAL_SERVER_ERROR
717717
);
718718
}
719-
719+
720720
public static SecureString apiKey(@Nullable ApiKeySecrets secrets) {
721721
// To avoid a possible null pointer throughout the code we'll create a noop api key of an empty array
722722
return secrets == null ? new SecureString(new char[0]) : secrets.apiKey();

x-pack/plugin/inference/src/test/java/org/elasticsearch/xpack/inference/services/ServiceUtilsTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -883,7 +883,7 @@ public void testExtractRequiredEnum_HasValidationErrorOnMissingSetting() {
883883
assertThat(validationException.validationErrors().size(), is(1));
884884
assertThat(validationException.validationErrors().get(0), is("[testscope] does not contain the required setting [missing_key]"));
885885
}
886-
886+
887887
private static <K, V> Map<K, V> modifiableMap(Map<K, V> aMap) {
888888
return new HashMap<>(aMap);
889889
}

0 commit comments

Comments
 (0)