Remove unnecessary toLowerCase call from remainderIsDashes

Closes gh-38498
This commit is contained in:
Andy Wilkinson
2023-11-22 12:34:28 +00:00
parent 74239ad689
commit ae5bae393b

View File

@@ -493,7 +493,7 @@ public final class ConfigurationPropertyName implements Comparable<Configuration
}
int length = elements.getLength(element);
do {
char c = Character.toLowerCase(elements.charAt(element, index++));
char c = elements.charAt(element, index++);
if (c != '-') {
return false;
}