Leverage @NullMarked instead of package configuration

This commit replaces NullAway package configuration by package-level
`@NullMarked` detection by configuring `NullAway:AnnotatedPackages` to
an empty string.

NullAway configuration should be refined to use a proper flag instead
once uber/NullAway#574 is fixed.

See gh-28797
This commit is contained in:
Sébastien Deleuze
2024-12-23 17:14:29 +01:00
parent 528578d138
commit 1e0ef99b0c
8 changed files with 4 additions and 22 deletions

View File

@@ -1,7 +1,4 @@
/**
* GraalVM native image features, not part of Spring Framework public API.
*/
@NullMarked
package org.springframework.aot.nativex.feature;
import org.jspecify.annotations.NullMarked;

View File

@@ -1,7 +1,4 @@
/**
* GraalVM native image substitutions, not part of Spring Framework public API.
*/
@NullMarked
package org.springframework.aot.nativex.substitution;
import org.jspecify.annotations.NullMarked;