Skip to content

Commit 75ed4be

Browse files
committed
Align JSpecify @nullable annotation
1 parent 7bb7456 commit 75ed4be

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Diff for: spring-core/src/main/java/org/springframework/core/SpringProperties.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,7 @@ public static boolean getFlag(String key) {
150150
* {@code null} if it is not set at all
151151
* @since 6.2.6
152152
*/
153-
@Nullable
154-
public static Boolean checkFlag(String key) {
153+
public static @Nullable Boolean checkFlag(String key) {
155154
String flag = getProperty(key);
156155
return (flag != null ? Boolean.valueOf(flag) : null);
157156
}

0 commit comments

Comments
 (0)