BACK TO LIST

Java rules

The Codiga Code Analysis engine supports hundreds of rules for Java, checking that your code is safe and secure. Start using Codiga today to check your code and automate your code reviews to find issues in every pull request and merge with confidence.

DontCallThreadRun

Unknown
Informational

Dont call Thread.run() explicitly

Learn more

ExtendsObject

Code style
Informational

No need to explicitly extend Object.

InstantiationToGetClass

Error prone
Informational

Avoid instantiating an object just to call getClass() on it; use the .class public member instead

UseVarargs

Best practice
Informational

Consider using varargs for methods or constructors which take an array the last parameter.

We use cookies to improve your site experience, including analytics cookies to understand how you use our product and design better experiences. Please read our Cookie Policy.