Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: the heading of bibliography fixed as h2.

...

CERT C++ Secure Coding Standard

OOP00-CPP. Declare data members private

MITRE CWE

CWE-766. Critical variable declared public

Secure Coding Guidelines for the Java Programming Language, Version 3.0

Guideline 3-2. Define wrapper methods around modifiable internal state

Bibliography

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="0fde0c0e72553dce-9cdc74e9-443e46cd-9abcba1a-99bdee5673efcb77abd3b802"><ac:plain-text-body><![CDATA[

[[Bloch 2008

AA. References#Bloch 08]]

Item 13. Minimize the accessibility of classes and members; Item 14. In public classes, use accessor methods, not public fields

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

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="3f61b997a4c5e789-6528dcf6-41034790-9049a2ec-b0860e6d7329db9eb8175357"><ac:plain-text-body><![CDATA[

[[JLS 2005

AA. References#JLS 05]]

[§6.6, Access Control

http://java.sun.com/docs/books/jls/third_edition/html/names.html#6.6]

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

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="c310a17beb74bb92-7a1007bf-47d148c8-8316b464-909bf7784c35ccfa1c29bb4b"><ac:plain-text-body><![CDATA[

[[Long 2005

AA. References#Long 05]]

§2.2, Public Fields

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

...