diff --git a/src/backend/ci/core/common/common-expression/src/main/kotlin/com/tencent/devops/common/expression/ParseContext.kt b/src/backend/ci/core/common/common-expression/src/main/kotlin/com/tencent/devops/common/expression/ParseContext.kt index 8b13ba8af68..af7e75e660f 100644 --- a/src/backend/ci/core/common/common-expression/src/main/kotlin/com/tencent/devops/common/expression/ParseContext.kt +++ b/src/backend/ci/core/common/common-expression/src/main/kotlin/com/tencent/devops/common/expression/ParseContext.kt @@ -47,7 +47,7 @@ class ParseContext( val subNameValueEvaluateInfo: SubNameValueEvaluateInfo? = null ) { val extensionFunctions = TreeMap(String.CASE_INSENSITIVE_ORDER) - val extensionNamedValues = TreeMap(String.CASE_INSENSITIVE_ORDER) + val extensionNamedValues = TreeMap() val lexicalAnalyzer: LexicalAnalyzer val operands = ArrayDeque() val operators = ArrayDeque() diff --git a/src/backend/ci/core/common/common-expression/src/main/kotlin/com/tencent/devops/common/expression/context/DictionaryContextData.kt b/src/backend/ci/core/common/common-expression/src/main/kotlin/com/tencent/devops/common/expression/context/DictionaryContextData.kt index daffd7ec4fb..c65175af4b1 100644 --- a/src/backend/ci/core/common/common-expression/src/main/kotlin/com/tencent/devops/common/expression/context/DictionaryContextData.kt +++ b/src/backend/ci/core/common/common-expression/src/main/kotlin/com/tencent/devops/common/expression/context/DictionaryContextData.kt @@ -59,7 +59,7 @@ class DictionaryContextData : private val indexLookup: MutableMap get() { if (mIndexLookup == null) { - mIndexLookup = TreeMap(String.CASE_INSENSITIVE_ORDER) + mIndexLookup = TreeMap() if (mList.isNotEmpty()) { mList.forEachIndexed { index, pair -> mIndexLookup!![pair.key] = index diff --git a/src/backend/ci/core/common/common-expression/src/main/kotlin/com/tencent/devops/common/expression/context/RuntimeDictionaryContextData.kt b/src/backend/ci/core/common/common-expression/src/main/kotlin/com/tencent/devops/common/expression/context/RuntimeDictionaryContextData.kt index c9998db3aff..0241c17eb08 100644 --- a/src/backend/ci/core/common/common-expression/src/main/kotlin/com/tencent/devops/common/expression/context/RuntimeDictionaryContextData.kt +++ b/src/backend/ci/core/common/common-expression/src/main/kotlin/com/tencent/devops/common/expression/context/RuntimeDictionaryContextData.kt @@ -86,7 +86,7 @@ class RuntimeDictionaryContextData(private val runtimeNamedValue: RuntimeNamedVa private val indexLookup: MutableMap get() { if (mIndexLookup == null) { - mIndexLookup = TreeMap(String.CASE_INSENSITIVE_ORDER) + mIndexLookup = TreeMap() if (mList.isNotEmpty()) { mList.forEachIndexed { index, pair -> mIndexLookup!![pair.key] = index