Skip to content

Commit

Permalink
♻️ refactor(validator): Remove duplicated code
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjitm committed Feb 22, 2024
1 parent c9d48a8 commit 5d5631b
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -621,8 +621,6 @@ public void validate(BaseAction action, Deliverable deliverable, boolean saving)
&& priorityAction.getShfrmSubActions() != null && priorityAction.getShfrmSubActions().isEmpty())) {
action.addMessage(action.getText("deliverable.shfrmSubActions"));
action.addMissingField("deliverable.shfrmSubActions");
action.getInvalidFields().put("list-deliverable.shfrmPriorityActions",
InvalidFieldsMessages.EMPTYFIELD);
action.getInvalidFields().put("list-deliverable.shfrmPriorityActions",
InvalidFieldsMessages.EMPTYFIELD);
/*
Expand Down

0 comments on commit 5d5631b

Please sign in to comment.