Skip to content

Commit

Permalink
Add annotation for FindBugs
Browse files Browse the repository at this point in the history
  • Loading branch information
seanf committed Jan 19, 2018
1 parent f2d2c40 commit bb407d2
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -87,7 +87,7 @@ public class UserSettingsAction implements Serializable {

@Inject
private CredentialsDAO credentialsDAO;
@SuppressFBWarnings("SE_BAD_FIELD")
@SuppressFBWarnings(value = "SE_BAD_FIELD", justification = "CDI proxies are Serializable")
@Inject
private EntityManager em;
@Inject
Expand Down Expand Up @@ -331,6 +331,7 @@ private static class CredentialsCreationCallback
private final HCredentials newCredentials;
private final CredentialsDAO credentialsDAO;
private final FacesMessages facesMessages;
@SuppressFBWarnings(value = "SE_BAD_FIELD", justification = "CDI proxies are Serializable")
private final EntityManager em;

private CredentialsCreationCallback(HCredentials newCredentials,
Expand Down

0 comments on commit bb407d2

Please sign in to comment.