Skip to content

Commit

Permalink
Polish apache#6007 : [Discussion] @reference@service Naming issues
Browse files Browse the repository at this point in the history
  • Loading branch information
mercyblitz committed Apr 28, 2020
1 parent 89599c5 commit 493ea4b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Expand Up @@ -24,13 +24,16 @@

/**
* Reference
* <p>
*
* @see DubboReference
* @since 2.7.0
* @deprecated Recommend {@link DubboReference} as the substitute
*/
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD, ElementType.METHOD, ElementType.ANNOTATION_TYPE})
@Deprecated
public @interface Reference {
/**
* Interface class, default value is void.class
Expand Down
Expand Up @@ -32,11 +32,13 @@
*
* @see DubboService
* @since 2.7.0
* @deprecated Recommend {@link DubboService} as the substitute
*/
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
@Inherited
@Deprecated
public @interface Service {

/**
Expand Down

0 comments on commit 493ea4b

Please sign in to comment.