Skip to content

Commit

Permalink
[3.0] Print consumerURL parameters in ServiceAddressURL (apache#9221)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbumenJ authored Nov 6, 2021
1 parent 942ba9f commit c51c1e8
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -254,4 +254,10 @@ public boolean equals(Object obj) {
}
return super.equals(obj);
}

@Override
public String toString() {
URLParam totalParam = getUrlParam().addParametersIfAbsent(consumerURL.getParameters());
return new ServiceConfigURL(getUrlAddress(), totalParam, null).toString();
}
}

0 comments on commit c51c1e8

Please sign in to comment.