Skip to content

Commit

Permalink
Stream:新表达式引擎大小写不敏感bug #8737
Browse files Browse the repository at this point in the history
  • Loading branch information
tangruotian committed Apr 24, 2023
1 parent eda1a49 commit fd24a90
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 fd24a90

Please sign in to comment.