You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by ke...@apache.org on 2019/06/08 01:37:12 UTC
[dubbo] branch master updated: fix
org.apache.dubbo.common.URL#toMap change password key,
from USERNAME_KEY to PASSWORD_KEY (#4267)
This is an automated email from the ASF dual-hosted git repository.
kexianjun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo.git
The following commit(s) were added to refs/heads/master by this push:
new 3acf5b8 fix org.apache.dubbo.common.URL#toMap change password key, from USERNAME_KEY to PASSWORD_KEY (#4267)
3acf5b8 is described below
commit 3acf5b8af129f58b31bcdae876ce4c73f520e161
Author: zhangjianwei <Ji...@gmail.com>
AuthorDate: Sat Jun 8 09:36:40 2019 +0800
fix org.apache.dubbo.common.URL#toMap change password key, from USERNAME_KEY to PASSWORD_KEY (#4267)
LGTM
---
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 106bebc..2935387 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
@@ -1168,7 +1168,7 @@ class URL implements Serializable {
map.put(USERNAME_KEY, username);
}
if (password != null) {
- map.put(USERNAME_KEY, password);
+ map.put(PASSWORD_KEY, password);
}
if (host != null) {
map.put(HOST_KEY, host);