This is an automated email from the ASF dual-hosted git repository.
iluo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-dubbo.git
The following commit(s) were added to refs/heads/master by this push:
new 6f28ff4 possibly bug fix (#3460)
6f28ff4 is described below
commit 6f28ff45833cfc51d1e2ee2ccfa723613128125d
Author: wanghbxxxx <[email protected]>
AuthorDate: Wed Feb 13 17:43:23 2019 +0800
possibly bug fix (#3460)
---
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 31ac91e..7809140 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
@@ -349,7 +349,7 @@ class URL implements Serializable {
public String getAuthority() {
if (StringUtils.isEmpty(username)
- && StringUtils.isEmpty(parameter)) {
+ && StringUtils.isEmpty(password)) {
return null;
}
return (username == null ? "" : username)