From e1afc91ae2de68bcc5b1f066c5ed4cd742b845b4 Mon Sep 17 00:00:00 2001 From: dreis2211 Date: Thu, 9 Sep 2021 17:51:25 +0200 Subject: [PATCH] Polish javadoc comments See gh-27925 --- .../boot/autoconfigure/jackson/JacksonProperties.java | 2 +- .../boot/context/config/ConfigDataLoader.java | 7 +++---- .../boot/context/config/ConfigDataLocation.java | 2 +- .../NotConstructorBoundInjectionFailureAnalyzer.java | 4 ++-- .../springframework/boot/env/ConfigTreePropertySource.java | 2 +- .../boot/image/assertions/ContainerConfigAssert.java | 3 +-- 6 files changed, 9 insertions(+), 11 deletions(-) diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jackson/JacksonProperties.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jackson/JacksonProperties.java index 8983072faf..9a0ffd89a3 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jackson/JacksonProperties.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jackson/JacksonProperties.java @@ -98,7 +98,7 @@ public class JacksonProperties { private Boolean defaultLeniency; /** - * Strategy to use to to auto-detect constructor, and in particular behavior with + * Strategy to use to auto-detect constructor, and in particular behavior with * single-argument constructors. */ private ConstructorDetectorStrategy constructorDetector; diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/config/ConfigDataLoader.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/config/ConfigDataLoader.java index eaea00ca3a..2eafb12776 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/config/ConfigDataLoader.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/config/ConfigDataLoader.java @@ -26,10 +26,9 @@ import org.springframework.boot.ConfigurableBootstrapContext; import org.springframework.boot.logging.DeferredLogFactory; /** - * Strategy class that can be used used to load {@link ConfigData} for a given - * {@link ConfigDataResource}. Implementations should be added as a - * {@code spring.factories} entries. The following constructor parameter types are - * supported: + * Strategy class that can be used to load {@link ConfigData} for a given + * {@link ConfigDataResource}. Implementations should be added as {@code spring.factories} + * entries. The following constructor parameter types are supported: *