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

resources.report.rules.findbugs.EI_EXPOSE_STATIC_REP2.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.

There is a newer version: 1.1.1
Show newest version


MS: May expose internal static state by storing a mutable object into a static field (EI_EXPOSE_STATIC_REP2)


MS: May expose internal static state by storing a mutable object into a static field (EI_EXPOSE_STATIC_REP2)

This code stores a reference to an externally mutable object into a static field. If unchecked changes to the mutable object would compromise security or other important properties, you will need to do something different. Storing a copy of the object is better approach in many situations.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy