Skip to content

Commit

Permalink
keep a no-argument constructor method in URL.java fix#3342
Browse files Browse the repository at this point in the history
  • Loading branch information
CrazyHZM committed Jan 25, 2019
1 parent ed8bb74 commit c7d5d77
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -27,6 +27,10 @@
@Deprecated
public class URL extends org.apache.dubbo.common.URL {

public 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 c7d5d77

Please sign in to comment.