Skip to content

Commit

Permalink
fix(TCOMP-2710): fix sonar warnings/error
Browse files Browse the repository at this point in the history
  • Loading branch information
undx committed Jun 25, 2024
1 parent 507f8bc commit 9556897
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ public void guessInputComponentSchema(final Schema schema) throws Exception {
}

public void guessComponentSchema(final Schema incomingSchema, final String outgoingBranch,
final Boolean isStartOfJob) throws Exception {
final boolean isStartOfJob) throws Exception {
try {
executeDiscoverSchemaExtendedAction(incomingSchema, outgoingBranch);
} catch (Exception e) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ void deserializeDiscoverSchemaException() throws Exception {
assertEquals("Not allowed to execute the HTTP call to retrieve the schema.", e.getMessage());
//
e = jsonToException(serialized);
assertNotEquals("EXCEPTION", e.getPossibleHandleErrorWith());
assertNotEquals("EXCEPTION", e.getPossibleHandleErrorWith().name());
assertEquals("RETRY", e.getPossibleHandleErrorWith().name());
assertEquals("Unknown error. Retry!", e.getMessage());
}
Expand Down

0 comments on commit 9556897

Please sign in to comment.