java - Why am getting error from SONAR even after removing @override Annotation.? -


class extends b{         protected void executeimpl(){         super.executeimpl();     } } 

above class in being injected in third class

class c{      a;      public void execute(){     a.executeimpl()      }      } 

error: description assignee resource new issue useless overriding method : overriding method merely calls super

the @override annotation can added on inherited method. not mean if remove annotation method not inherited anymore. still inherited ! , therefore rule still valid did not change semantic of program remove annoation.


Comments

Popular posts from this blog

dns - How To Use Custom Nameserver On Free Cloudflare? -

python - Pygame screen.blit not working -

c# - Web API response xml language -