File tree 1 file changed +3
-3
lines changed
spring-core/src/main/java/org/springframework/core
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2023 the original author or authors.
2
+ * Copyright 2002-2025 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -122,8 +122,8 @@ public static void setFlag(String key) {
122
122
/**
123
123
* Retrieve the flag for the given property key.
124
124
* @param key the property key
125
- * @return {@code true} if the property is set to "true",
126
- * {@code} false otherwise
125
+ * @return {@code true} if the property is set to the string "true"
126
+ * (ignoring case), {@code} false otherwise
127
127
*/
128
128
public static boolean getFlag (String key ) {
129
129
return Boolean .parseBoolean (getProperty (key ));
You can’t perform that action at this time.
0 commit comments