Skip to content

Commit

Permalink
Merge branch '2.5.x' into main
Browse files Browse the repository at this point in the history
Closes gh-27138
  • Loading branch information
mbhave committed Jul 1, 2021
2 parents 32a1644 + 55593a7 commit 1f3b32c
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,13 @@
/**
* Annotation that can be used to specify the default value when binding to an immutable
* property. This annotation can also be used with nested properties to indicate that a
* value should always be bound (rather than binding {@code null}).
* value should always be bound (rather than binding {@code null}). The value from this
* annotation will only be used if the property is not found in the property sources used
* by the {@link Binder}. For example, if the property is present in the
* {@link org.springframework.core.env.Environment} when binding to
* {@link org.springframework.boot.context.properties.ConfigurationProperties @ConfigurationProperties},
* the default value for the property will not be used even if the property value is
* empty.
*
* @author Madhura Bhave
* @since 2.2.0
Expand Down

0 comments on commit 1f3b32c

Please sign in to comment.