parent
016a4c4260
commit
6863b904b5
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2002-2023 the original author or authors.
|
* Copyright 2002-2025 the original author or authors.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
|
|
@ -123,8 +123,8 @@ public final class SpringProperties {
|
||||||
/**
|
/**
|
||||||
* Retrieve the flag for the given property key.
|
* Retrieve the flag for the given property key.
|
||||||
* @param key the property key
|
* @param key the property key
|
||||||
* @return {@code true} if the property is not {@code null} and is equal, ignoring case, to the string "true",
|
* @return {@code true} if the property is set to the string "true"
|
||||||
* {@code} false otherwise
|
* (ignoring case), {@code} false otherwise
|
||||||
*/
|
*/
|
||||||
public static boolean getFlag(String key) {
|
public static boolean getFlag(String key) {
|
||||||
return Boolean.parseBoolean(getProperty(key));
|
return Boolean.parseBoolean(getProperty(key));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue