Skip to content

Commit a86ba64

Browse files
committed
Polish
1 parent d2ceb8f commit a86ba64

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/BindResult.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
import org.springframework.util.ObjectUtils;
2727

2828
/**
29-
* A container object to return result of a {@link Binder} bind operation. May contain
29+
* A container object to return the result of a {@link Binder} bind operation. May contain
3030
* either a successfully bound object or an empty result.
3131
*
3232
* @param <T> the result type

spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/Binder.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public Binder(Iterable<ConfigurationPropertySource> sources) {
9797
/**
9898
* Create a new {@link Binder} instance for the specified sources.
9999
* @param sources the sources used for binding
100-
* @param placeholdersResolver strategy to resolve any property place-holders
100+
* @param placeholdersResolver strategy to resolve any property placeholders
101101
*/
102102
public Binder(Iterable<ConfigurationPropertySource> sources,
103103
PlaceholdersResolver placeholdersResolver) {
@@ -107,7 +107,7 @@ public Binder(Iterable<ConfigurationPropertySource> sources,
107107
/**
108108
* Create a new {@link Binder} instance for the specified sources.
109109
* @param sources the sources used for binding
110-
* @param placeholdersResolver strategy to resolve any property place-holders
110+
* @param placeholdersResolver strategy to resolve any property placeholders
111111
* @param conversionService the conversion service to convert values (or {@code null}
112112
* to use {@link ApplicationConversionService})
113113
*/
@@ -120,7 +120,7 @@ public Binder(Iterable<ConfigurationPropertySource> sources,
120120
/**
121121
* Create a new {@link Binder} instance for the specified sources.
122122
* @param sources the sources used for binding
123-
* @param placeholdersResolver strategy to resolve any property place-holders
123+
* @param placeholdersResolver strategy to resolve any property placeholders
124124
* @param conversionService the conversion service to convert values (or {@code null}
125125
* to use {@link ApplicationConversionService})
126126
* @param propertyEditorInitializer initializer used to configure the property editors
@@ -141,7 +141,7 @@ public Binder(Iterable<ConfigurationPropertySource> sources,
141141
}
142142

143143
/**
144-
* Bind the specified target {@link Class} using this binders
144+
* Bind the specified target {@link Class} using this binder's
145145
* {@link ConfigurationPropertySource property sources}.
146146
* @param name the configuration property name to bind
147147
* @param target the target class
@@ -154,7 +154,7 @@ public <T> BindResult<T> bind(String name, Class<T> target) {
154154
}
155155

156156
/**
157-
* Bind the specified target {@link Bindable} using this binders
157+
* Bind the specified target {@link Bindable} using this binder's
158158
* {@link ConfigurationPropertySource property sources}.
159159
* @param name the configuration property name to bind
160160
* @param target the target bindable
@@ -167,7 +167,7 @@ public <T> BindResult<T> bind(String name, Bindable<T> target) {
167167
}
168168

169169
/**
170-
* Bind the specified target {@link Bindable} using this binders
170+
* Bind the specified target {@link Bindable} using this binder's
171171
* {@link ConfigurationPropertySource property sources}.
172172
* @param name the configuration property name to bind
173173
* @param target the target bindable
@@ -180,7 +180,7 @@ public <T> BindResult<T> bind(ConfigurationPropertyName name, Bindable<T> target
180180
}
181181

182182
/**
183-
* Bind the specified target {@link Bindable} using this binders
183+
* Bind the specified target {@link Bindable} using this binder's
184184
* {@link ConfigurationPropertySource property sources}.
185185
* @param name the configuration property name to bind
186186
* @param target the target bindable
@@ -193,7 +193,7 @@ public <T> BindResult<T> bind(String name, Bindable<T> target, BindHandler handl
193193
}
194194

195195
/**
196-
* Bind the specified target {@link Bindable} using this binders
196+
* Bind the specified target {@link Bindable} using this binder's
197197
* {@link ConfigurationPropertySource property sources}.
198198
* @param name the configuration property name to bind
199199
* @param target the target bindable

spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/PlaceholdersResolver.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ public interface PlaceholdersResolver {
3535
PlaceholdersResolver NONE = (value) -> value;
3636

3737
/**
38-
* Called to resolve any place holders in the given value.
38+
* Called to resolve any placeholders in the given value.
3939
* @param value the source value
40-
* @return a value with place holders resolved
40+
* @return a value with placeholders resolved
4141
*/
4242
Object resolvePlaceholders(Object value);
4343

spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/reactive/context/ReactiveWebServerApplicationContext.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ public void setServerNamespace(String serverNamespace) {
189189

190190
/**
191191
* Internal class used to manage the server and the {@link HttpHandler}, taking care
192-
* not to initialize the hander too early.
192+
* not to initialize the handler too early.
193193
*/
194194
static final class ServerManager implements HttpHandler {
195195

spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/reactive/context/AnnotationConfigReactiveWebServerApplicationContextTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ public ReactiveWebServerFactory webServerFactory() {
135135
}
136136

137137
@Bean
138-
public HttpHandler httpHander() {
138+
public HttpHandler httpHandler() {
139139
if (!addedListener) {
140140
throw new RuntimeException(
141141
"Handlers should be added after listeners, we're being initialized too early!");

0 commit comments

Comments
 (0)