Nullability refinements on private and static methods

Based on IntelliJ IDEA 2017.3 introspection results.

Issue: SPR-15756
This commit is contained in:
Juergen Hoeller
2017-09-22 18:22:12 +02:00
parent 60f47f4489
commit 7ae59d0c2a
88 changed files with 319 additions and 300 deletions

View File

@@ -205,7 +205,9 @@ public class EhCacheFactoryBean extends CacheConfiguration implements FactoryBea
String cacheName = getName();
if (cacheName == null) {
cacheName = this.beanName;
setName(cacheName);
if (cacheName != null) {
setName(cacheName);
}
}
// If no CacheManager given, fetch the default.