From 4135622bd5566059c061b174d4827b2d4a09e9be Mon Sep 17 00:00:00 2001 From: Yanming Zhou Date: Fri, 18 Oct 2024 11:59:14 +0800 Subject: [PATCH] Polish javadoc for Binder#bindOrCreate(String, Class) See gh-42777 --- .../springframework/boot/context/properties/bind/Binder.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/Binder.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/Binder.java index 4d8fbf0133..8500327bb3 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/Binder.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/Binder.java @@ -272,8 +272,8 @@ public class Binder { /** * Bind the specified target {@link Class} using this binder's - * {@link ConfigurationPropertySource property sources} or create a new instance using - * the type of the {@link Bindable} if the result of the binding is {@code null}. + * {@link ConfigurationPropertySource property sources} or create a new instance of + * the specified target {@link Class} if the result of the binding is {@code null}. * @param name the configuration property name to bind * @param target the target class * @param the bound type