All Downloads are FREE. Search and download functionalities are using the official Maven repository.

resources.report.rules.findbugs.UC_USELESS_OBJECT.html Maven / Gradle / Ivy



UC_USELESS_OBJECT

UC: Useless object created (UC_USELESS_OBJECT)

Our analysis shows that this object is useless. It's created and modified, but its value never go outside of the method or produce any side-effect. Either there is a mistake and object was intended to be used or it can be removed.

This analysis rarely produces false-positives. Common false-positive cases include:

- This object used to implicitly throw some obscure exception.

- This object used as a stub to generalize the code.

- This object used to hold strong references to weak/soft-referenced objects.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy