Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: "an an" -> "an"

...

Returning references to an an object's internal mutable components provides an attacker with the opportunity to corrupt the state of the object. Consequently, accessor methods must return defensive copies of internal mutable objects (see rule OBJ05-J. Defensively copy private mutable class members before returning their references).

...

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2cdd842030fd8ee1-fff7c925-435f4c04-a6639fb4-dd5306002691fc59b591b78b"><ac:plain-text-body><![CDATA[

[[Bloch 2008

AA. Bibliography#Bloch 08]]

Item 39: Make defensive copies when needed

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="bd8118fbb8fe916a-ab4ca5a1-44a34bf5-b17b8dfd-2761447d6136aff307d9e666"><ac:plain-text-body><![CDATA[

[[Pugh 2009

AA. Bibliography#Pugh 09]]

Returning references to internal mutable state

]]></ac:plain-text-body></ac:structured-macro>

...