Skip to content

Commit 12c673d

Browse files
committed
Add missing locale
1 parent db73932 commit 12c673d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal-api/src/main/java/datadog/trace/bootstrap/config/provider/StableConfigParser.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@ static boolean selectorMatch(String origin, List<String> matches, String operato
142142
if (operator == null) {
143143
return false;
144144
}
145-
operator = operator.toLowerCase();
146-
switch (origin.toLowerCase()) {
145+
operator = operator.toLowerCase(Locale.ROOT);
146+
switch (origin.toLowerCase(Locale.ROOT)) {
147147
case "language":
148148
if ("exists".equals(operator)) {
149149
return false;

0 commit comments

Comments
 (0)