Skip to content

Commit 6f28ff4

Browse files
wanghbxxxxbeiwei30
authored andcommitted
possibly bug fix (apache#3460)
1 parent cad253a commit 6f28ff4

File tree

1 file changed

+1
-1
lines changed
  • dubbo-common/src/main/java/org/apache/dubbo/common

1 file changed

+1
-1
lines changed

dubbo-common/src/main/java/org/apache/dubbo/common/URL.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ public URL setPassword(String password) {
349349

350350
public String getAuthority() {
351351
if (StringUtils.isEmpty(username)
352-
&& StringUtils.isEmpty(parameter)) {
352+
&& StringUtils.isEmpty(password)) {
353353
return null;
354354
}
355355
return (username == null ? "" : username)

0 commit comments

Comments
 (0)