From fd24a902c4e479bc2e47d83cad4051efb8344b28 Mon Sep 17 00:00:00 2001 From: ruotiantang Date: Mon, 24 Apr 2023 17:49:16 +0800 Subject: [PATCH] =?UTF-8?q?Stream:=E6=96=B0=E8=A1=A8=E8=BE=BE=E5=BC=8F?= =?UTF-8?q?=E5=BC=95=E6=93=8E=E5=A4=A7=E5=B0=8F=E5=86=99=E4=B8=8D=E6=95=8F?= =?UTF-8?q?=E6=84=9Fbug=20#8737?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../kotlin/com/tencent/devops/common/expression/ParseContext.kt | 2 +- .../devops/common/expression/context/DictionaryContextData.kt | 2 +- .../common/expression/context/RuntimeDictionaryContextData.kt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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