Fix typos in code and documentation
See gh-31734
This commit is contained in:
committed by
Phillip Webb
parent
4bcec6e0ee
commit
dbfc6bded4
@@ -25,9 +25,9 @@ import java.lang.annotation.Target;
|
||||
import org.springframework.context.annotation.Conditional;
|
||||
|
||||
/**
|
||||
* {@link Conditional @Conditional} that checks whether or not a default health indicator
|
||||
* is enabled. Matches if the value of the {@code management.health.<name>.enabled}
|
||||
* property is {@code true}. Otherwise, matches if the value of the
|
||||
* {@link Conditional @Conditional} that checks whether a default health indicator is
|
||||
* enabled. Matches if the value of the {@code management.health.<name>.enabled} property
|
||||
* is {@code true}. Otherwise, matches if the value of the
|
||||
* {@code management.health.defaults.enabled} property is {@code true} or if it is not
|
||||
* configured.
|
||||
*
|
||||
|
||||
@@ -44,8 +44,8 @@ public abstract class HealthProperties {
|
||||
private Show showComponents;
|
||||
|
||||
/**
|
||||
* Roles used to determine whether or not a user is authorized to be shown details.
|
||||
* When empty, all authenticated users are authorized.
|
||||
* Roles used to determine whether a user is authorized to be shown details. When
|
||||
* empty, all authenticated users are authorized.
|
||||
*/
|
||||
private Set<String> roles = new HashSet<>();
|
||||
|
||||
|
||||
@@ -25,8 +25,8 @@ import java.lang.annotation.Target;
|
||||
import org.springframework.context.annotation.Conditional;
|
||||
|
||||
/**
|
||||
* {@link Conditional @Conditional} that checks whether or not an info contributor is
|
||||
* enabled. Matches if the value of the {@code management.info.<name>.enabled} property is
|
||||
* {@link Conditional @Conditional} that checks whether an info contributor is enabled.
|
||||
* Matches if the value of the {@code management.info.<name>.enabled} property is
|
||||
* {@code true}. Otherwise, use the specific {@link #fallback() fallback} method.
|
||||
*
|
||||
* @author Stephane Nicoll
|
||||
|
||||
@@ -25,11 +25,11 @@ import java.lang.annotation.Target;
|
||||
import org.springframework.context.annotation.Conditional;
|
||||
|
||||
/**
|
||||
* {@link Conditional @Conditional} that checks whether or not a metrics exporter is
|
||||
* enabled. If the {@code management.metrics.export.<name>.enabled} property is configured
|
||||
* then its value is used to determine if it matches. Otherwise, matches if the value of
|
||||
* the {@code management.metrics.export.defaults.enabled} property is {@code true} or if
|
||||
* it is not configured.
|
||||
* {@link Conditional @Conditional} that checks whether a metrics exporter is enabled. If
|
||||
* the {@code management.metrics.export.<name>.enabled} property is configured then its
|
||||
* value is used to determine if it matches. Otherwise, matches if the value of the
|
||||
* {@code management.metrics.export.defaults.enabled} property is {@code true} or if it is
|
||||
* not configured.
|
||||
*
|
||||
* @author Chris Bono
|
||||
* @since 2.4.0
|
||||
|
||||
@@ -66,7 +66,7 @@ public class GangliaProperties {
|
||||
private GMetric.UDPAddressingMode addressingMode = GMetric.UDPAddressingMode.MULTICAST;
|
||||
|
||||
/**
|
||||
* Time to live for metrics on Ganglia. Set the multi-cast Time-To-Live to be one
|
||||
* Time to live for metrics on Ganglia. Set the multicast Time-To-Live to be one
|
||||
* greater than the number of hops (routers) between the hosts.
|
||||
*/
|
||||
private Integer timeToLive = 1;
|
||||
|
||||
Reference in New Issue
Block a user