Skip to content

Commit

Permalink
Fixed SpotBugs issue
Browse files Browse the repository at this point in the history
  • Loading branch information
cgendreau committed Feb 14, 2025
1 parent 5c97a35 commit df06567
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package ca.gc.aafc.dina.security;

import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import java.util.Arrays;
import java.util.List;
import lombok.Getter;
Expand All @@ -15,6 +16,7 @@
* Represent user role in the context of a DINA module.
* The roles that end with _ADMIN mean that they are admin-based so not restricted by group.
*/
@SuppressFBWarnings(value = "MS_EXPOSE_REP")
@RequiredArgsConstructor
public enum DinaRole {

Expand Down

0 comments on commit df06567

Please sign in to comment.