Skip to content

Commit

Permalink
Use RecordWrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
ismailsimsek committed Oct 5, 2024
1 parent d581e71 commit fa3eea5
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,13 +98,13 @@ public Operation cdcOpValue(String cdcOpField) {
);
}

if (opFieldValue.equals('u')) {
if (opFieldValue.equals("u")) {
return Operation.UPDATE;
} else if (opFieldValue.equals('d')) {
} else if (opFieldValue.equals("d")) {
return Operation.DELETE;
} else if (opFieldValue.equals('r')) {
} else if (opFieldValue.equals("r")) {
return Operation.READ;
} else if (opFieldValue.equals('c')) {
} else if (opFieldValue.equals("c")) {
return Operation.INSERT;
}
throw new DebeziumException("Unexpected `" + cdcOpField + "=" + opFieldValue + "` operation value received, expecting one of ['u','d','r','c']");
Expand Down

0 comments on commit fa3eea5

Please sign in to comment.