Polishing.
Ignore warnings for already checked constructs null away does not understand. Original Pull Request: #3282
This commit is contained in:
committed by
Mark Paluch
parent
9c966376a7
commit
2dd6e74193
@@ -118,6 +118,7 @@ public class Parameter<T, P extends PersistentProperty<P>> {
|
||||
* @since 3.5
|
||||
* @see org.springframework.core.ParameterNameDiscoverer
|
||||
*/
|
||||
@SuppressWarnings("NullAway")
|
||||
public String getRequiredName() {
|
||||
|
||||
if (!hasName()) {
|
||||
|
||||
@@ -125,6 +125,7 @@ public class Parameter {
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
@SuppressWarnings("NullAway")
|
||||
public String getPlaceholder() {
|
||||
|
||||
if (isNamedParameter()) {
|
||||
|
||||
Reference in New Issue
Block a user