You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by cr...@apache.org on 2022/03/21 03:25:49 UTC
[dubbo] branch 3.0 updated: fix mistake code (#9817)
This is an automated email from the ASF dual-hosted git repository.
crazyhzm pushed a commit to branch 3.0
in repository https://gitbox.apache.org/repos/asf/dubbo.git
The following commit(s) were added to refs/heads/3.0 by this push:
new afb8c9b fix mistake code (#9817)
afb8c9b is described below
commit afb8c9b4cf3c389ed866eb2ae5555ef9ca4bd169
Author: Wang Chengming <63...@qq.com>
AuthorDate: Mon Mar 21 11:25:38 2022 +0800
fix mistake code (#9817)
Co-authored-by: 呈铭 <be...@antgroup.com>
---
dubbo-common/src/main/java/org/apache/dubbo/common/URL.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dubbo-common/src/main/java/org/apache/dubbo/common/URL.java b/dubbo-common/src/main/java/org/apache/dubbo/common/URL.java
index d50cd46..9d15743 100644
--- a/dubbo-common/src/main/java/org/apache/dubbo/common/URL.java
+++ b/dubbo-common/src/main/java/org/apache/dubbo/common/URL.java
@@ -1120,7 +1120,7 @@ class URL implements Serializable {
return this;
}
if (pairs.length % 2 != 0) {
- throw new IllegalArgumentException("Map pairs can not be odd numrer.");
+ throw new IllegalArgumentException("Map pairs can not be odd number.");
}
Map<String, String> map = new HashMap<>();
int len = pairs.length / 2;