From 8f91bbeffa48d31b2e1cf2ebea9ca53856fe7735 Mon Sep 17 00:00:00 2001 From: Madhura Bhave Date: Fri, 12 Oct 2018 18:14:36 -0700 Subject: [PATCH] Polish --- .../properties/ConfigurationPropertiesBindHandlerAdvisor.java | 2 +- .../boot/context/properties/bind/BindHandler.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/ConfigurationPropertiesBindHandlerAdvisor.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/ConfigurationPropertiesBindHandlerAdvisor.java index a125df5b30e..8a9d409bbe8 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/ConfigurationPropertiesBindHandlerAdvisor.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/ConfigurationPropertiesBindHandlerAdvisor.java @@ -33,7 +33,7 @@ public interface ConfigurationPropertiesBindHandlerAdvisor { /** * Apply additional functionality to the source bind handler. * @param bindHandler the source bind handler - * @return a replacement bind hander that delegates to the source and provides + * @return a replacement bind handler that delegates to the source and provides * additional functionality */ BindHandler apply(BindHandler bindHandler); diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/BindHandler.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/BindHandler.java index 525442626f5..3914be6d0e4 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/BindHandler.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/BindHandler.java @@ -41,7 +41,7 @@ public interface BindHandler { * @param name the name of the element being bound * @param target the item being bound * @param context the bind context - * @return {@code true} if binding should proceed + * @return the actual item that should be used for binding (may be {@code null}) */ default Bindable onStart(ConfigurationPropertyName name, Bindable target, BindContext context) {