Merge pull request #50 from cppwfs/ISSUE-49
isRefreshScoped returns false if beanName is null
This commit is contained in:
@@ -122,7 +122,7 @@ ApplicationListener<EnvironmentChangeEvent>, ApplicationContextAware {
|
||||
}
|
||||
}
|
||||
}
|
||||
if (this.refreshScope == null) {
|
||||
if (beanName == null || this.refreshScope == null) {
|
||||
return false;
|
||||
}
|
||||
return this.beanFactory.containsBeanDefinition(beanName)
|
||||
|
||||
Reference in New Issue
Block a user