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

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

Go to download

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.

The newest version!


EI: May expose internal representation by returning reference to mutable object (EI_EXPOSE_REP)


EI: May expose internal representation by returning reference to mutable object (EI_EXPOSE_REP)

Returning a reference to a mutable object value stored in one of the object's fields exposes the internal representation of the object.  If instances are accessed by untrusted code, and unchecked changes to the mutable object would compromise security or other important properties, you will need to do something different. Returning a new copy of the object is better approach in many situations.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy