Skip to content

Commit 4a7eebb

Browse files
committed
Fixed checkstyle
1 parent ca8d95c commit 4a7eebb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/inference/completion/CompletionRequestIterator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ private InferenceAction.Request inferenceRequest(String prompt) {
101101
// Only set task settings if explicitly provided by the user.
102102
// This preserves backward compatibility and avoids sending empty
103103
// maps to the inference service, which could have unexpected behavior.
104-
if (taskSettings != null && !taskSettings.isEmpty()) {
104+
if (taskSettings != null && taskSettings.isEmpty() == false) {
105105
builder.setTaskSettings(taskSettings);
106106
}
107107

0 commit comments

Comments
 (0)