Skip to content

Commit

Permalink
Merge pull request #8738 from tangruotian/issue_8737
Browse files Browse the repository at this point in the history
Stream:新表达式引擎大小写不敏感bug #8737
  • Loading branch information
bkci-bot authored Apr 24, 2023
2 parents eda1a49 + fd24a90 commit f9f6039
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class ParseContext(
val subNameValueEvaluateInfo: SubNameValueEvaluateInfo? = null
) {
val extensionFunctions = TreeMap<String, IFunctionInfo>(String.CASE_INSENSITIVE_ORDER)
val extensionNamedValues = TreeMap<String, INamedValueInfo>(String.CASE_INSENSITIVE_ORDER)
val extensionNamedValues = TreeMap<String, INamedValueInfo>()
val lexicalAnalyzer: LexicalAnalyzer
val operands = ArrayDeque<ExpressionNode>()
val operators = ArrayDeque<Token>()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class DictionaryContextData :
private val indexLookup: MutableMap<String, Int>
get() {
if (mIndexLookup == null) {
mIndexLookup = TreeMap<String, Int>(String.CASE_INSENSITIVE_ORDER)
mIndexLookup = TreeMap<String, Int>()
if (mList.isNotEmpty()) {
mList.forEachIndexed { index, pair ->
mIndexLookup!![pair.key] = index
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class RuntimeDictionaryContextData(private val runtimeNamedValue: RuntimeNamedVa
private val indexLookup: MutableMap<String, Int>
get() {
if (mIndexLookup == null) {
mIndexLookup = TreeMap<String, Int>(String.CASE_INSENSITIVE_ORDER)
mIndexLookup = TreeMap<String, Int>()
if (mList.isNotEmpty()) {
mList.forEachIndexed { index, pair ->
mIndexLookup!![pair.key] = index
Expand Down

0 comments on commit f9f6039

Please sign in to comment.