File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed 
spring-core/src/main/java/org/springframework/core Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 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 ));
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments