This is an automated email from the ASF dual-hosted git repository.

jerrick pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-dubbo.git


The following commit(s) were added to refs/heads/master by this push:
     new e961c90  deprecated unused method for Activate #2180 (#2193)
e961c90 is described below

commit e961c9018299afe072fa380f65320d5bd812822c
Author: Jerrick Zhu <diecui1...@gmail.com>
AuthorDate: Tue Aug 7 10:34:51 2018 +0800

    deprecated unused method for Activate #2180 (#2193)
---
 .../src/main/java/com/alibaba/dubbo/common/extension/Activate.java    | 2 ++
 .../src/main/java/org/apache/dubbo/common/extension/Activate.java     | 4 ++++
 2 files changed, 6 insertions(+)

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 02b78bc..9aecbce 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 @@ public @interface Activate {
 
     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 52e9305..ba1873e 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 @@ public @interface Activate {
 
     /**
      * 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 {};
 
     /**

Reply via email to