Polishing.

Ignore warnings for already checked constructs null away does not understand.

Original Pull Request: #3282
This commit is contained in:
Christoph Strobl
2025-04-29 10:30:23 +02:00
committed by Mark Paluch
parent 9c966376a7
commit 2dd6e74193
2 changed files with 2 additions and 0 deletions

View File

@@ -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()) {

View File

@@ -125,6 +125,7 @@ public class Parameter {
*
* @return
*/
@SuppressWarnings("NullAway")
public String getPlaceholder() {
if (isNamedParameter()) {