You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2022/12/13 02:04:29 UTC

[GitHub] [dubbo-spi-extensions] wxbty commented on a diff in pull request #182: Bugfix of retries and missing field

wxbty commented on code in PR #182:
URL: https://github.com/apache/dubbo-spi-extensions/pull/182#discussion_r1046589101


##########
dubbo-cluster-extensions/dubbo-cluster-specify-address-dubbo2/src/main/java/org/apache/dubbo/rpc/cluster/specifyaddress/Address.java:
##########
@@ -17,10 +17,15 @@
 package org.apache.dubbo.rpc.cluster.specifyaddress;
 
 import org.apache.dubbo.common.URL;
+import org.apache.dubbo.rpc.cluster.common.SpecifyAddress;
 
 import java.io.Serializable;
 import java.util.Objects;
 
+/**
+ * Use {@link SpecifyAddress} instead.
+ */
+@Deprecated
 public class Address implements Serializable {

Review Comment:
   URL attributes are always cast when used, using Object instead of generics so that they can be placed in the common package



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org