resources.report.rules.findbugs.UC_USELESS_VOID_METHOD.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sanity4j Show documentation
Show all versions of sanity4j Show documentation
Sanity4J was created to simplify running multiple static code
analysis tools on the Java projects. It provides a single entry
point to run all the selected tools and produce a consolidated
report, which presents all findings in an easily accessible
manner.
UC_USELESS_VOID_METHOD
UC: Useless non-empty void method (UC_USELESS_VOID_METHOD)
Our analysis shows that this non-empty void method does not actually perform any useful work.
Please check it: probably there's a mistake in its code or its body can be fully removed.
We are trying to reduce the false positives as much as possible, but in some cases this warning might be wrong.
Common false-positive cases include:
- The method is intended to trigger loading of some class which may have a side effect.
- The method is intended to implicitly throw some obscure exception.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy