Skip to content

Commit 6863b90

Browse files
committed
Polish contribution
See gh-34295
1 parent 016a4c4 commit 6863b90

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.
@@ -123,8 +123,8 @@ public static void setFlag(String key) {
123123
/**
124124
* Retrieve the flag for the given property key.
125125
* @param key the property key
126-
* @return {@code true} if the property is not {@code null} and is equal, ignoring case, to the string "true",
127-
* {@code} false otherwise
126+
* @return {@code true} if the property is set to the string "true"
127+
* (ignoring case), {@code} false otherwise
128128
*/
129129
public static boolean getFlag(String key) {
130130
return Boolean.parseBoolean(getProperty(key));

0 commit comments

Comments
 (0)