1
0
mirror of https://gitee.com/mirrors/Spring-Cloud-Alibaba.git synced 2021-06-26 13:25:11 +08:00

fix definition of SentinelProtect

This commit is contained in:
fangjian0423 2018-09-18 10:40:15 +08:00
parent f52e3a72ac
commit 8e89f6d15a

View File

@ -16,17 +16,14 @@
package org.springframework.cloud.alibaba.sentinel.annotation;
import org.springframework.beans.factory.annotation.Qualifier;
import java.lang.annotation.*;
/**
* @author fangjian
*/
@Target({ ElementType.METHOD, ElementType.FIELD })
@Target({ ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Qualifier
public @interface SentinelProtect {
String blockHandler() default "";