mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Upgrade nullability plugin to 0.10.0
Closes gh-36188
This commit is contained in:
Vendored
-1
@@ -94,7 +94,6 @@ public abstract class AbstractCachingConfiguration implements ImportAware {
|
||||
/**
|
||||
* Extract the configuration from the nominated {@link CachingConfigurer}.
|
||||
*/
|
||||
@SuppressWarnings("NullAway") // https://github.com/uber/NullAway/issues/1128
|
||||
protected void useCachingConfigurer(CachingConfigurerSupplier cachingConfigurerSupplier) {
|
||||
this.cacheManager = cachingConfigurerSupplier.adapt(CachingConfigurer::cacheManager);
|
||||
this.cacheResolver = cachingConfigurerSupplier.adapt(CachingConfigurer::cacheResolver);
|
||||
|
||||
+1
-1
@@ -67,7 +67,7 @@ public abstract class AbstractAsyncConfiguration implements ImportAware {
|
||||
* Collect any {@link AsyncConfigurer} beans through autowiring.
|
||||
*/
|
||||
@Autowired
|
||||
@SuppressWarnings("NullAway") // https://github.com/uber/NullAway/issues/1128
|
||||
@SuppressWarnings("NullAway") // https://github.com/uber/NullAway/issues/1290
|
||||
void setConfigurers(ObjectProvider<AsyncConfigurer> configurers) {
|
||||
SingletonSupplier<AsyncConfigurer> configurer = SingletonSupplier.ofNullable(() -> {
|
||||
List<AsyncConfigurer> candidates = configurers.stream().toList();
|
||||
|
||||
Reference in New Issue
Block a user