From 64beaf9baf1e4f3f725e7bb5490ed2037c8c9e28 Mon Sep 17 00:00:00 2001 From: royalhuang Date: Fri, 23 Sep 2022 15:55:05 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=BC=95=E6=93=8E=E7=AD=89MQ=E5=9C=BA?= =?UTF-8?q?=E6=99=AF=E6=8E=A5=E5=85=A5SCS=E6=A1=86=E6=9E=B6=20#7443?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../devops/common/stream/utils/DefaultBindingUtils.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/backend/ci/core/common/common-stream/src/main/kotlin/com/tencent/devops/common/stream/utils/DefaultBindingUtils.kt b/src/backend/ci/core/common/common-stream/src/main/kotlin/com/tencent/devops/common/stream/utils/DefaultBindingUtils.kt index 5fd79c0bb98..e2dc3fc7462 100644 --- a/src/backend/ci/core/common/common-stream/src/main/kotlin/com/tencent/devops/common/stream/utils/DefaultBindingUtils.kt +++ b/src/backend/ci/core/common/common-stream/src/main/kotlin/com/tencent/devops/common/stream/utils/DefaultBindingUtils.kt @@ -4,9 +4,9 @@ import java.lang.reflect.Method object DefaultBindingUtils { - fun getOutBindingName(clazz: Class<*>) = "${clazz.simpleName.decapitalize()}Out" + fun getOutBindingName(clazz: Class<*>) = clazz.simpleName.decapitalize() - fun getInBindingName(method: Method) = "${method.name}In" + fun getInBindingName(method: Method): String = method.name - fun getInBindingName(clazz: Class<*>) = "${clazz.simpleName.decapitalize()}In" + fun getInBindingName(clazz: Class<*>) = clazz.simpleName.decapitalize() }