diff --git a/naming/src/main/java/com/alibaba/nacos/naming/selector/NoneSelector.java b/naming/src/main/java/com/alibaba/nacos/naming/selector/NoneSelector.java index b2b6b42d2..38bab06a1 100644 --- a/naming/src/main/java/com/alibaba/nacos/naming/selector/NoneSelector.java +++ b/naming/src/main/java/com/alibaba/nacos/naming/selector/NoneSelector.java @@ -15,8 +15,6 @@ */ package com.alibaba.nacos.naming.selector; -import com.alibaba.nacos.api.selector.AbstractSelector; -import com.alibaba.nacos.api.selector.SelectorType; import com.alibaba.nacos.naming.core.Instance; import java.util.List; @@ -27,11 +25,7 @@ import java.util.List; * @author nkorange * @since 0.7.0 */ -public class NoneSelector extends AbstractSelector implements Selector { - - public NoneSelector() { - this.setType(SelectorType.none.name()); - } +public class NoneSelector extends com.alibaba.nacos.api.selector.NoneSelector implements Selector { @Override public List select(String consumer, List providers) {