Locale english = new Locale("en", "US");
for (Map.Entry<String, String> entry : carrier) {
final String key = entry.getKey().toLowerCase(english);
if (FIELD_NAME_TRACE_ID.equals(key)) {
requiredFieldCount++;
<BUG>traceId = entry.getValue();
</BUG>
} else if (FIELD_NAME_SPAN_ID.equals(key)) {
requiredFieldCount++;
<BUG>spanId = entry.getValue();
</BUG>
} else {

Locale english = new Locale("en", "US");
for (Map.Entry<String, String> entry : carrier) {
final String key = entry.getKey().toLowerCase(english);
if (FIELD_NAME_TRACE_ID.equals(key)) {
requiredFieldCount++;
traceId = unHex(entry.getValue());
} else if (FIELD_NAME_SPAN_ID.equals(key)) {
requiredFieldCount++;
spanId = unHex(entry.getValue());
} else {
