Skip to content

Commit

Permalink
fix forbidden APIs
Browse files Browse the repository at this point in the history
  • Loading branch information
not-napoleon committed Jan 30, 2024
1 parent 5d450a1 commit acd4654
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import org.elasticsearch.xpack.ql.type.DataTypes;

import java.io.IOException;
import java.util.Locale;
import java.util.function.Function;

import static org.elasticsearch.common.logging.LoggerMessageFormat.format;
Expand Down Expand Up @@ -149,8 +150,8 @@ static String formatIncombatibleTypesMessage(String symbol, String leftType, Str
null,
"[{}] has arguments with incompatible types [{}] and [{}]",
symbol,
leftType.toUpperCase(),
rightType.toUpperCase()
leftType.toUpperCase(Locale.ROOT),
rightType.toUpperCase(Locale.ROOT)
);
}

Expand Down

0 comments on commit acd4654

Please sign in to comment.