"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "spring-core/src/main/java/org/springframework/util/StringUtils.java" between
spring-framework-5.3.7.tar.gz and spring-framework-5.3.8.tar.gz

About: Spring Framework is an application framework for the Java platform and .NET Framework. Community edition.

StringUtils.java  (spring-framework-5.3.7):StringUtils.java  (spring-framework-5.3.8)
skipping to change at line 568 skipping to change at line 568
} }
else { else {
updatedChar = Character.toLowerCase(baseChar); updatedChar = Character.toLowerCase(baseChar);
} }
if (baseChar == updatedChar) { if (baseChar == updatedChar) {
return str; return str;
} }
char[] chars = str.toCharArray(); char[] chars = str.toCharArray();
chars[0] = updatedChar; chars[0] = updatedChar;
return new String(chars, 0, chars.length); return new String(chars);
} }
/** /**
* Extract the filename from the given Java resource path, * Extract the filename from the given Java resource path,
* e.g. {@code "mypath/myfile.txt" -> "myfile.txt"}. * e.g. {@code "mypath/myfile.txt" -> "myfile.txt"}.
* @param path the file path (may be {@code null}) * @param path the file path (may be {@code null})
* @return the extracted filename, or {@code null} if none * @return the extracted filename, or {@code null} if none
*/ */
@Nullable @Nullable
public static String getFilename(@Nullable String path) { public static String getFilename(@Nullable String path) {
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)