We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7bb7456 commit 75ed4beCopy full SHA for 75ed4be
spring-core/src/main/java/org/springframework/core/SpringProperties.java
@@ -150,8 +150,7 @@ public static boolean getFlag(String key) {
150
* {@code null} if it is not set at all
151
* @since 6.2.6
152
*/
153
- @Nullable
154
- public static Boolean checkFlag(String key) {
+ public static @Nullable Boolean checkFlag(String key) {
155
String flag = getProperty(key);
156
return (flag != null ? Boolean.valueOf(flag) : null);
157
}
0 commit comments