annotations - sonarqueue plugin for java ee -
we using sonarqube quite alot our code analysis, false errors sonar not recognize ejb annotations methods:
@postconstruct protected void initialize() { service = getservice(); }
this gives unused protected method, have been private too, protected testing purpose. question how avoid getting java ee annotations or other annotations give errors in sonar?
and no not want use //nosonar
we sonar know method called container, though there no code calling it.
you're right, feel free vote https://jira.codehaus.org/browse/sonarjava-117 should fixed in version 2.5 of sonarqube java plugin.
Comments
Post a Comment