Skip to content

Commit 5547a84

Browse files
committed
Polish
1 parent 58fc337 commit 5547a84

File tree

5 files changed

+17
-17
lines changed

5 files changed

+17
-17
lines changed

spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -901,7 +901,7 @@ The example in the previous section can be rewritten in an immutable fashion as
901901
----
902902

903903
In this setup, the `@ImmutableConfigurationProperties` annotation is used to indicate that constructor binding should be used.
904-
This means that the binder will expect to find a constructor with the parameters that you wish to have bound bind.
904+
This means that the binder will expect to find a constructor with the parameters that you wish to have bound.
905905

906906
Nested classes that also require constructor binding (such as `Security` in the example above) should use the `@ConstructorBinding` annotation.
907907

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,19 +50,19 @@
5050
public @interface ConfigurationProperties {
5151

5252
/**
53-
* The name prefix of the properties that are valid to bind to this object. Synonym
54-
* for {@link #prefix()}. A valid prefix is defined by one or more words separated
55-
* with dots (e.g. {@code "acme.system.feature"}).
56-
* @return the name prefix of the properties to bind
53+
* The prefix of the properties that are valid to bind to this object. Synonym for
54+
* {@link #prefix()}. A valid prefix is defined by one or more words separated with
55+
* dots (e.g. {@code "acme.system.feature"}).
56+
* @return the prefix of the properties to bind
5757
*/
5858
@AliasFor("prefix")
5959
String value() default "";
6060

6161
/**
62-
* The name prefix of the properties that are valid to bind to this object. Synonym
63-
* for {@link #value()}. A valid prefix is defined by one or more words separated with
62+
* The prefix of the properties that are valid to bind to this object. Synonym for
63+
* {@link #value()}. A valid prefix is defined by one or more words separated with
6464
* dots (e.g. {@code "acme.system.feature"}).
65-
* @return the name prefix of the properties to bind
65+
* @return the prefix of the properties to bind
6666
*/
6767
@AliasFor("value")
6868
String prefix() default "";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ private static boolean isBindableConstructor(Constructor<?> constructor) {
250250
}
251251

252252
/**
253-
* The binding method that use used for the bean.
253+
* The binding method that is used for the bean.
254254
*/
255255
public enum BindMethod {
256256

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,19 +40,19 @@
4040
public @interface ImmutableConfigurationProperties {
4141

4242
/**
43-
* The name prefix of the properties that are valid to bind to this object. Synonym
44-
* for {@link #prefix()}. A valid prefix is defined by one or more words separated
45-
* with dots (e.g. {@code "acme.system.feature"}).
46-
* @return the name prefix of the properties to bind
43+
* The prefix of the properties that are valid to bind to this object. Synonym for
44+
* {@link #prefix()}. A valid prefix is defined by one or more words separated with
45+
* dots (e.g. {@code "acme.system.feature"}).
46+
* @return the prefix of the properties to bind
4747
*/
4848
@AliasFor(annotation = ConfigurationProperties.class)
4949
String value() default "";
5050

5151
/**
52-
* The name prefix of the properties that are valid to bind to this object. Synonym
53-
* for {@link #value()}. A valid prefix is defined by one or more words separated with
52+
* The prefix of the properties that are valid to bind to this object. Synonym for
53+
* {@link #value()}. A valid prefix is defined by one or more words separated with
5454
* dots (e.g. {@code "acme.system.feature"}).
55-
* @return the name prefix of the properties to bind
55+
* @return the prefix of the properties to bind
5656
*/
5757
@AliasFor(annotation = ConfigurationProperties.class)
5858
String prefix() default "";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public <A extends Annotation> A getAnnotation(Class<A> type) {
114114
}
115115

116116
/**
117-
* Return the constructor filter that can be used to limit the constructor that are
117+
* Return the constructor filter that can be used to limit the constructors that are
118118
* considered when binding.
119119
* @return the constructor filter
120120
* @since 2.2.0

0 commit comments

Comments
 (0)