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

php - Admin SDK -- get information about the group -

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

Python Error - TypeError: input expected at most 1 arguments, got 3 -