This is an automated email from the ASF dual-hosted git repository. jinrongtong pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/rocketmq.git
The following commit(s) were added to refs/heads/develop by this push: new 086a726c5d [ISSUE #7659]Trim property 086a726c5d is described below commit 086a726c5da01da8869b045000de7dae5f1e2937 Author: Dongyuan Pan <dongyuanp...@gmail.com> AuthorDate: Mon Dec 18 08:29:54 2023 +0800 [ISSUE #7659]Trim property --- common/src/main/java/org/apache/rocketmq/common/MixAll.java | 1 + 1 file changed, 1 insertion(+) diff --git a/common/src/main/java/org/apache/rocketmq/common/MixAll.java b/common/src/main/java/org/apache/rocketmq/common/MixAll.java index 407ef2842c..c11eb377b9 100644 --- a/common/src/main/java/org/apache/rocketmq/common/MixAll.java +++ b/common/src/main/java/org/apache/rocketmq/common/MixAll.java @@ -376,6 +376,7 @@ public class MixAll { } else if (cn.equals("float") || cn.equals("Float")) { arg = Float.parseFloat(property); } else if (cn.equals("String")) { + property = property.trim(); arg = property; } else { continue;