Skip to content

Commit

Permalink
Merge pull request #476 from bcgov/feature/GRAD2-2467
Browse files Browse the repository at this point in the history
GRAD2-2467: the duplicate optional nonGradReasons issue is resolved.
  • Loading branch information
infstar authored Feb 21, 2024
2 parents 38c4a1e + 3c0f82b commit d1fe869
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ private void processMainProgramCompleteRules(List<GradRequirement> nonGradReason
nonGReasons = new ArrayList<>();

nonGReasons.addAll(requirementsNotMet);
obj.setNonGradReasonsOptionalProgram(nonGReasons);
obj.setNonGradReasonsOptionalProgram(nonGReasons.stream().distinct().toList());
}
}
}
Expand Down

0 comments on commit d1fe869

Please sign in to comment.