Merge pull request #30512 from izeye

* pr/30512:
  Add Javadoc since to InjectedElement.shouldInject()

Closes gh-30512
This commit is contained in:
Stephane Nicoll 2023-05-22 15:30:33 +02:00
commit 7660dbfd77
1 changed files with 6 additions and 0 deletions

View File

@ -243,6 +243,12 @@ public class InjectionMetadata {
}
}
/**
* Whether the property values should be injected.
* @param pvs property values to check
* @return whether the property values should be injected
* @since 6.0.10
*/
protected boolean shouldInject(@Nullable PropertyValues pvs) {
if (this.isField) {
return true;