Consistent final @Nullable declarations
This commit is contained in:
parent
78f901649e
commit
f2dd7b01cd
|
@ -162,7 +162,7 @@ public class DefaultListableBeanFactory extends AbstractAutowireCapableBeanFacto
|
|||
new ConcurrentHashMap<>(8);
|
||||
|
||||
/** Whether strict locking is enforced or relaxed in this factory. */
|
||||
private @Nullable final Boolean strictLocking = SpringProperties.checkFlag(STRICT_LOCKING_PROPERTY_NAME);
|
||||
private final @Nullable Boolean strictLocking = SpringProperties.checkFlag(STRICT_LOCKING_PROPERTY_NAME);
|
||||
|
||||
/** Optional id for this factory, for serialization purposes. */
|
||||
private @Nullable String serializationId;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2002-2023 the original author or authors.
|
||||
* Copyright 2002-2025 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -228,7 +228,7 @@ public class ServletRequestDataBinder extends WebDataBinder {
|
|||
}
|
||||
|
||||
@Override
|
||||
public @Nullable final Object resolveValue(String name, Class<?> paramType) {
|
||||
public final @Nullable Object resolveValue(String name, Class<?> paramType) {
|
||||
Object value = getRequestParameter(name, paramType);
|
||||
if (value == null) {
|
||||
value = this.dataBinder.resolvePrefixValue(name, paramType, this::getRequestParameter);
|
||||
|
|
Loading…
Reference in New Issue