Skip to content

Commit

Permalink
Polish apache#4050 : Dubbo Cloud Native : Reactor
Browse files Browse the repository at this point in the history
  • Loading branch information
mercyblitz committed Jun 4, 2019
1 parent 4c10a83 commit cafba86
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
import org.apache.dubbo.common.URL;
import org.apache.dubbo.config.ServiceConfig;
import org.apache.dubbo.config.event.ServiceConfigExportedEvent;
import org.apache.dubbo.configcenter.DynamicConfiguration;
import org.apache.dubbo.event.EventListener;
import org.apache.dubbo.metadata.ServiceNameMapping;

Expand All @@ -43,7 +42,6 @@ public class ServiceNameMappingListener implements EventListener<ServiceConfigEx

@Override
public void onEvent(ServiceConfigExportedEvent event) {
DynamicConfiguration dynamicConfiguration = DynamicConfiguration.getDynamicConfiguration();
ServiceConfig serviceConfig = event.getServiceConfig();
List<URL> exportedURLs = serviceConfig.getExportedUrls();
exportedURLs.forEach(url -> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
*
* @see ServiceInstance
* @see MetadataService
* @since 2.7.2
* @since 2.7.3
*/
class MetadataServiceProxy implements MetadataService {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
/**
* The {@link ServiceInstance} Selector
*
* @since 2.7.2
* @since 2.7.3
*/
@SPI("random")
public interface ServiceInstanceSelector {
Expand Down

0 comments on commit cafba86

Please sign in to comment.