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

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

visual studio 2010 - Connect to informix database windows form application -

android - Associate same looper with different threads -