diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionalOnProperty.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionalOnProperty.java index 1923e348f4b..a40d9093955 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionalOnProperty.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionalOnProperty.java @@ -75,7 +75,8 @@ import org.springframework.core.env.Environment; *
* This condition cannot be reliably used for matching collection properties. For example, * in the following configuration, the condition matches if {@code spring.example.values} - * is present in the {@link Environment} but does not match if {@code spring.example.values[0]} is present. + * is present in the {@link Environment} but does not match if + * {@code spring.example.values[0]} is present. * *
* @ConditionalOnProperty(prefix = "spring", name = "example.values")