Skip to content

Commit b89e8f7

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent 2c091b7 commit b89e8f7

File tree

1 file changed

+1
-2
lines changed
  • x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/scalar/convert

1 file changed

+1
-2
lines changed

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/scalar/convert/ToLong.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
import static org.elasticsearch.xpack.esql.core.type.DataType.LONG;
3434
import static org.elasticsearch.xpack.esql.core.type.DataType.TEXT;
3535
import static org.elasticsearch.xpack.esql.core.type.DataType.UNSIGNED_LONG;
36-
import static org.elasticsearch.xpack.esql.core.type.DataTypeConverter.safeDoubleToLong;
3736
import static org.elasticsearch.xpack.esql.type.EsqlDataTypeConverter.stringToLong;
3837
import static org.elasticsearch.xpack.esql.type.EsqlDataTypeConverter.unsignedLongToLong;
3938

@@ -135,7 +134,7 @@ static long fromKeyword(BytesRef in) {
135134
@ConvertEvaluator(extraName = "FromDouble", warnExceptions = { InvalidArgumentException.class })
136135
static long fromDouble(double dbl) {
137136
throw new UnsupportedOperationException("SAFDSAF");
138-
// return safeDoubleToLong(dbl);
137+
// return safeDoubleToLong(dbl);
139138
}
140139

141140
@ConvertEvaluator(extraName = "FromUnsignedLong", warnExceptions = { InvalidArgumentException.class })

0 commit comments

Comments
 (0)