Code maturity issue

Hello,

Is there any inspection that would detect trivial code such as :

<code>
public boolean equals(Object obj) {
    return super.equals(obj);
  }
</code>

and clear it ?

2 comments
Comment actions Permalink

Hello Gilles,

There is Declaration Redundency|Empty method inspection. Though it is available
in batch mode only

Thank you
-


Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

Hello,

Is there any inspection that would detect trivial code such as :

<code>
public boolean equals(Object obj) {
return super.equals(obj);
}
</code>
and clear it ?

---
Original message URL:
http://www.jetbrains.net/devnet/message/5243261#5243261



0
Comment actions Permalink

Thanks for the answer !

0

Please sign in to leave a comment.