Skip to content

Commit ae5bae3

Browse files
committed
Remove unnecessary toLowerCase call from remainderIsDashes
Closes gh-38498
1 parent 74239ad commit ae5bae3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/source/ConfigurationPropertyName.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ private boolean remainderIsDashes(Elements elements, int element, int index) {
493493
}
494494
int length = elements.getLength(element);
495495
do {
496-
char c = Character.toLowerCase(elements.charAt(element, index++));
496+
char c = elements.charAt(element, index++);
497497
if (c != '-') {
498498
return false;
499499
}

0 commit comments

Comments
 (0)