Skip to content

Commit

Permalink
addressing review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ankitk-me committed May 28, 2024
1 parent 3ecc2f0 commit bc2f559
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -278,14 +278,10 @@ private void onInitialBegin(
{
doInitialReset(traceId);
}
if (!Objects.equals(DEFAULT_ASSERTION_SCHEMA, assertion.schema))
if (DEFAULT_ASSERTION_SCHEMA != assertion.schema)
{
String schema = handler.resolve(id);
if (assertion.schema == null && schema != null)
{
doInitialReset(traceId);
}
else if (assertion.schema != null && !assertion.schema.equals(schema))
if (!Objects.equals(assertion.schema, schema))
{
doInitialReset(traceId);
}
Expand Down

0 comments on commit bc2f559

Please sign in to comment.