Skip to content

Commit 9f672d3

Browse files
committed
Checkstyle
1 parent ae208a6 commit 9f672d3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/inference/DenseVectorEmbeddingFunction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ protected TypeResolutions.ParamOrdinal optionsParamsOrdinal() {
140140
public boolean equals(Object o) {
141141
if (this == o) return true;
142142
if (o == null || getClass() != o.getClass()) return false;
143-
if (!super.equals(o)) return false;
143+
if (super.equals(o) == false) return false;
144144
DenseVectorEmbeddingFunction that = (DenseVectorEmbeddingFunction) o;
145145
return Objects.equals(inputText, that.inputText) && Objects.equals(tmpAttribute, that.tmpAttribute);
146146
}

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/inference/InferenceFunction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ protected TypeResolution resolveType() {
102102
@Override
103103
public boolean equals(Object o) {
104104
if (o == null || getClass() != o.getClass()) return false;
105-
if (!super.equals(o)) return false;
105+
if (super.equals(o) == false) return false;
106106
InferenceFunction that = (InferenceFunction) o;
107107
return Objects.equals(options, that.options);
108108
}

0 commit comments

Comments
 (0)