Skip to content

Commit efbb27f

Browse files
committed
formatting fix
1 parent 6b4517f commit efbb27f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

aws-xray-propagator/src/main/java/io/opentelemetry/contrib/awsxray/propagator/AwsXrayPropagator.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -345,10 +345,8 @@ private static boolean isValidLineage(String key) {
345345
int counter2 = parseIntOrReturnNegative(split[2]);
346346

347347
boolean isHashValid = hash.length() == LINEAGE_HASH_LENGTH && isValidBase16String(hash);
348-
boolean isValidCounter2 =
349-
counter2 <= LINEAGE_MAX_COUNTER2 && counter2 >= LINEAGE_MIN_COUNTER;
350-
boolean isValidCounter1 =
351-
counter1 <= LINEAGE_MAX_COUNTER1 && counter1 >= LINEAGE_MIN_COUNTER;
348+
boolean isValidCounter2 = counter2 <= LINEAGE_MAX_COUNTER2 && counter2 >= LINEAGE_MIN_COUNTER;
349+
boolean isValidCounter1 = counter1 <= LINEAGE_MAX_COUNTER1 && counter1 >= LINEAGE_MIN_COUNTER;
352350

353351
return isHashValid && isValidCounter2 && isValidCounter1;
354352
}

0 commit comments

Comments
 (0)