ServletInstanceFieldCheck.java squid:S2226 and @Resource

33 views
Skip to first unread message

neal....@gmail.com

unread,
Mar 28, 2018, 5:18:36 AM3/28/18
to SonarQube
Hi there,

In SONARJAVA-2282 squid:S2226 was fixed so it doesn't raise an issue on @EJB field. It still raises one on @Resource, seems like that should be excluded too with the same reasoning.

Kind Regards,
Neal

alexandr...@gmail.com

unread,
Apr 30, 2018, 11:47:54 AM4/30/18
to SonarQube
Hello Neal,

Thanks for the feedback. I created https://jira.sonarsource.com/browse/SONARJAVA-2744 to cover this case.

Regards
Reply all
Reply to author
Forward
0 new messages