Skip to content

Commit d888432

Browse files
committed
Merge branch '6.2.x'
2 parents 1115be5 + 6863b90 commit d888432

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spring-core/src/main/java/org/springframework/core/SpringProperties.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2023 the original author or authors.
2+
* Copyright 2002-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -122,8 +122,8 @@ public static void setFlag(String key) {
122122
/**
123123
* Retrieve the flag for the given property key.
124124
* @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
127127
*/
128128
public static boolean getFlag(String key) {
129129
return Boolean.parseBoolean(getProperty(key));

0 commit comments

Comments
 (0)