Consistent use of @AliasFor

Closes gh-10836
This commit is contained in:
Stephane Nicoll
2017-12-13 14:42:16 +01:00
parent 47c8b5731a
commit a626f5462d
5 changed files with 12 additions and 2 deletions

View File

@@ -22,14 +22,18 @@ import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.springframework.core.annotation.AliasFor;
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Endpoint
public @interface MetaEndpoint {
@AliasFor(annotation = Endpoint.class)
String id();
@AliasFor(annotation = Endpoint.class)
boolean enableByDefault() default true;
}