From 4135622bd5566059c061b174d4827b2d4a09e9be Mon Sep 17 00:00:00 2001 From: Yanming Zhou Date: Fri, 18 Oct 2024 11:59:14 +0800 Subject: [PATCH 1/2] 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 4d8fbf0133d..8500327bb3d 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 From 868814d0a80c46c7bb56fd631104a658c59dc2b8 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Fri, 18 Oct 2024 08:56:51 +0100 Subject: [PATCH 2/2] Polish "Polish javadoc for Binder#bindOrCreate(String, Class)" See gh-42777 --- .../springframework/boot/context/properties/bind/Binder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 8500327bb3d..1630d2d8997 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 @@ -1,5 +1,5 @@ /* - * Copyright 2012-2023 the original author or authors. + * Copyright 2012-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.