Skip to content

Commit 1d14c92

Browse files
committed
apply spotless
Signed-off-by: seungwon cho <[email protected]>
1 parent 2682a9c commit 1d14c92

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

common/src/main/java/org/opensearch/ml/common/transport/prompt/MLCreatePromptInput.java

+9-8
Original file line numberDiff line numberDiff line change
@@ -179,14 +179,15 @@ public static MLCreatePromptInput parse(XContentParser parser) throws IOExceptio
179179
break;
180180
}
181181
}
182-
return MLCreatePromptInput.builder()
183-
.name(name)
184-
.description(description)
185-
.version(version)
186-
.prompt(prompt)
187-
.tags(tags)
188-
.tenantId(tenantId)
189-
.build();
182+
return MLCreatePromptInput
183+
.builder()
184+
.name(name)
185+
.description(description)
186+
.version(version)
187+
.prompt(prompt)
188+
.tags(tags)
189+
.tenantId(tenantId)
190+
.build();
190191
}
191192

192193
/**

plugin/src/main/java/org/opensearch/ml/action/prompt/TransportCreatePromptAction.java

+1-3
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,7 @@ private void indexPrompt(MLPrompt prompt, ActionListener<MLCreatePromptResponse>
129129
handlePromptPutResponse(putResponse, throwable, listener);
130130
});
131131
}
132-
}, e -> {
133-
handleFailure(e, listener, "Failed to init ML prompt index");
134-
}));
132+
}, e -> { handleFailure(e, listener, "Failed to init ML prompt index"); }));
135133
}
136134

137135
/**

0 commit comments

Comments
 (0)