Skip to content

Commit

Permalink
Delete references to never-constructed UpdateRejected event
Browse files Browse the repository at this point in the history
  • Loading branch information
dandavison committed Oct 24, 2024
1 parent 805833c commit 0dc7b1d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,6 @@ public static boolean isCommandEvent(HistoryEvent event) {
case EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED:
case EVENT_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES:
case EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_ACCEPTED:
case EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_REJECTED:
case EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_COMPLETED:
case EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED:
case EVENT_TYPE_NEXUS_OPERATION_SCHEDULED:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1144,14 +1144,6 @@ private void validateCommand(Command command, HistoryEvent event) {
true,
commandAttributes.getMessageId().endsWith("accept"));
break;
case EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_REJECTED:
assertMatch(
command,
event,
"messageType",
true,
commandAttributes.getMessageId().endsWith("reject"));
break;
case EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_COMPLETED:
assertMatch(
command,
Expand Down

0 comments on commit 0dc7b1d

Please sign in to comment.