Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Dubbo-3365]Fix compilation error fix #3365 #3366

Merged
merged 1 commit into from
Jan 28, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
import org.apache.dubbo.common.logger.LoggerFactory;
import org.apache.dubbo.metadata.identifier.MetadataIdentifier;
import org.apache.dubbo.metadata.support.AbstractMetadataReport;
import org.apache.dubbo.remoting.zookeeper.ZookeeperTransporter;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
Expand All @@ -35,7 +34,7 @@ public class JTestMetadataReport4Test extends AbstractMetadataReport {
private final static Logger logger = LoggerFactory.getLogger(JTestMetadataReport4Test.class);


public JTestMetadataReport4Test(URL url, ZookeeperTransporter zookeeperTransporter) {
public JTestMetadataReport4Test(URL url) {
super(url);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,15 @@
import org.apache.dubbo.common.URL;
import org.apache.dubbo.metadata.store.MetadataReport;
import org.apache.dubbo.metadata.support.AbstractMetadataReportFactory;
import org.apache.dubbo.remoting.zookeeper.ZookeeperTransporter;

/**
* ZookeeperRegistryFactory.
*/
public class JTestMetadataReportFactory4Test extends AbstractMetadataReportFactory {

private ZookeeperTransporter zookeeperTransporter;

public void setZookeeperTransporter(ZookeeperTransporter zookeeperTransporter) {
this.zookeeperTransporter = zookeeperTransporter;
}

@Override
public MetadataReport createMetadataReport(URL url) {
return new JTestMetadataReport4Test(url, zookeeperTransporter);
return new JTestMetadataReport4Test(url);
}

}