You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by il...@apache.org on 2019/02/13 09:43:32 UTC

[incubator-dubbo] branch master updated: possibly bug fix (#3460)

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 <wa...@gmail.com>
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)