diff --git a/spring-core/src/main/java/org/springframework/core/SpringProperties.java b/spring-core/src/main/java/org/springframework/core/SpringProperties.java index e82c371a19..32ff66e1fb 100644 --- a/spring-core/src/main/java/org/springframework/core/SpringProperties.java +++ b/spring-core/src/main/java/org/springframework/core/SpringProperties.java @@ -123,7 +123,7 @@ public final class SpringProperties { /** * Retrieve the flag for the given property key. * @param key the property key - * @return {@code true} if the property is set to "true", + * @return {@code true} if the property is not {@code null} and is equal, ignoring case, to the string "true", * {@code} false otherwise */ public static boolean getFlag(String key) {