From b069efade4bda496104f601a1aa0eafc6372a953 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Mon, 23 Mar 2020 11:34:25 +0100 Subject: [PATCH] Polish Javadoc for @ManagedAttribute See gh-24742 --- .../export/annotation/ManagedAttribute.java | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/spring-context/src/main/java/org/springframework/jmx/export/annotation/ManagedAttribute.java b/spring-context/src/main/java/org/springframework/jmx/export/annotation/ManagedAttribute.java index ebfe85ace54..1d233caa0c8 100644 --- a/spring-context/src/main/java/org/springframework/jmx/export/annotation/ManagedAttribute.java +++ b/spring-context/src/main/java/org/springframework/jmx/export/annotation/ManagedAttribute.java @@ -22,12 +22,12 @@ import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; -import javax.management.Descriptor; - /** * Method-level annotation that indicates to expose a given bean property as a - * JMX attribute, corresponding to the {@code ManagedAttribute} attribute. - * Only valid when used on a JavaBean getter or setter. + * JMX attribute, corresponding to the + * {@link org.springframework.jmx.export.metadata.ManagedAttribute}. + * + *

Only valid when used on a JavaBean getter or setter. * * @author Rob Harrop * @since 1.2 @@ -39,27 +39,27 @@ import javax.management.Descriptor; public @interface ManagedAttribute { /** - * Set the default value for the attribute in a JMX {@link Descriptor}. + * Set the default value for the attribute in a {@link javax.management.Descriptor}. */ String defaultValue() default ""; /** - * Set the description for the attribute a JMX {@link Descriptor}. + * Set the description for the attribute in a {@link javax.management.Descriptor}. */ String description() default ""; /** - * Set the currency time limit field in a JMX {@link Descriptor}. + * Set the currency time limit field in a {@link javax.management.Descriptor}. */ int currencyTimeLimit() default -1; /** - * Set the persistPolicy field in a JMX {@link Descriptor}. + * Set the persistPolicy field in a {@link javax.management.Descriptor}. */ String persistPolicy() default ""; /** - * Set the persistPeriod field in a JMX {@link Descriptor}. + * Set the persistPeriod field in a {@link javax.management.Descriptor}. */ int persistPeriod() default -1;