diff --git a/client/src/main/java/com/alibaba/nacos/client/address/ServerListProvider.java b/client/src/main/java/com/alibaba/nacos/client/address/ServerListProvider.java index 0217b233b12..1e362926287 100644 --- a/client/src/main/java/com/alibaba/nacos/client/address/ServerListProvider.java +++ b/client/src/main/java/com/alibaba/nacos/client/address/ServerListProvider.java @@ -82,14 +82,6 @@ default String getContextPath() { */ boolean match(final NacosClientProperties properties); - /** - * check the server list is fixed or not. - * @return true if the server list is fixed - */ - default boolean isFixed() { - return false; - } - /** * Get address source. * @return address source @@ -98,4 +90,12 @@ default String getAddressSource() { return ""; } + /** + * check the server list is fixed or not. + * @return true if the server list is fixed + */ + default boolean isFixed() { + return false; + } + }