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

resources.report.rules.pmd.Security_Code_Guidelines.html Maven / Gradle / Ivy



Security_Code_Guidelines


Security_Code_Guidelines

urity_Code_Guidelines">

Security Code Guidelines

  • MethodReturnsInternalArray: Exposing internal arrays directly allows the user to modify some code that could be critical. It is safer to return a copy of the array.
  • ArrayIsStoredDirectly: Constructors and methods receiving arrays should clone objects and store the copy. This prevents that future changes from the user affect the internal functionality.




  • © 2015 - 2024 Weber Informatics LLC | Privacy Policy