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 2018/08/07 02:34:52 UTC

[GitHub] diecui1202 closed pull request #2193: deprecated unused method for Activate #2180

diecui1202 closed pull request #2193: deprecated unused method for Activate #2180
URL: https://github.com/apache/incubator-dubbo/pull/2193
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/dubbo-common/src/main/java/com/alibaba/dubbo/common/extension/Activate.java b/dubbo-common/src/main/java/com/alibaba/dubbo/common/extension/Activate.java
index 02b78bcef5..9aecbce000 100644
--- a/dubbo-common/src/main/java/com/alibaba/dubbo/common/extension/Activate.java
+++ b/dubbo-common/src/main/java/com/alibaba/dubbo/common/extension/Activate.java
@@ -35,8 +35,10 @@
 
     String[] value() default {};
 
+    @Deprecated
     String[] before() default {};
 
+    @Deprecated
     String[] after() default {};
 
     int order() default 0;
diff --git a/dubbo-common/src/main/java/org/apache/dubbo/common/extension/Activate.java b/dubbo-common/src/main/java/org/apache/dubbo/common/extension/Activate.java
index 52e9305347..ba1873e579 100644
--- a/dubbo-common/src/main/java/org/apache/dubbo/common/extension/Activate.java
+++ b/dubbo-common/src/main/java/org/apache/dubbo/common/extension/Activate.java
@@ -67,16 +67,20 @@
 
     /**
      * Relative ordering info, optional
+     * Deprecated since 2.7.0
      *
      * @return extension list which should be put before the current one
      */
+    @Deprecated
     String[] before() default {};
 
     /**
      * Relative ordering info, optional
+     * Deprecated since 2.7.0
      *
      * @return extension list which should be put after the current one
      */
+    @Deprecated
     String[] after() default {};
 
     /**


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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