Skip to content

Commit

Permalink
add no-argument constructor method to URL.java fix apache#3342
Browse files Browse the repository at this point in the history
  • Loading branch information
qq925716471 committed Jan 25, 2019
1 parent 9b7284f commit a90d505
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@
@Deprecated
public class URL extends org.apache.dubbo.common.URL {

protected URL() {
super();
}

public URL(org.apache.dubbo.common.URL url) {
super(url.getProtocol(), url.getUsername(), url.getPassword(), url.getHost(), url.getPort(), url.getPath(), url.getParameters());
}
Expand Down

0 comments on commit a90d505

Please sign in to comment.