Align JSpecify @Nullable annotation

This commit is contained in:
Juergen Hoeller
2025-04-10 18:42:27 +02:00
parent 7bb7456686
commit 75ed4be446

View File

@@ -150,8 +150,7 @@ public final class SpringProperties {
* {@code null} if it is not set at all
* @since 6.2.6
*/
@Nullable
public static Boolean checkFlag(String key) {
public static @Nullable Boolean checkFlag(String key) {
String flag = getProperty(key);
return (flag != null ? Boolean.valueOf(flag) : null);
}