Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Rule

Severity

Likelihood

Remediation Cost

Priority

Level

OBJ02-J

low

probable

medium

P4

L3

Related Guidelines

...

CWE-607 "Public Static Final Field References Mutable Object"

Bibliography

<ac:structured-macro ac:name="unmigrated-wiki-markup

...

" ac:schema-version="1" ac:macro-id="dfc3ad50-fdf1-46a0-91cf-8fad7ec10841"><ac:plain-text-body><![CDATA[

[[Bloch

...

2008

...

AA.

...

Bibliography#Bloch

...

08]

...

]

...

Item

...

13:

...

Minimize

...

the

...

accessibility

...

of

...

classes

...

and

...

members

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

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="3bc04fa0-d55f-4c8a-8909-65b193542e7d"><ac:plain-text-body><![CDATA[

[[Core Java 2004

AA. Bibliography#Core Java 04]]

Chapter 6

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

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="fa4ab363-87c0-406d-95ac-1c55bc1fde7c"><ac:plain-text-body><![CDATA[

[[JLS 2005

AA. Bibliography#JLS 05]]

[§4.12.4

...

"final

...

Variables"

...

http://java.sun.com/docs/books /jls/third_edition/html/typesValues.html#4.12.4

...

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

 

§6.6

...

...

Control"

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="a6dfebc7-184b-400b-a098-9e9ed1e24ab1"><ac:plain-text-body><![CDATA[

[[Mettler 2010B

AA. Bibliography#Mettler 2010B]]

 

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

...

OBJ01-J. Declare data members as private and provide accessible wrapper methods      04. Object Orientation (OBJ)      OBJ03-J. Sensitive classes must not let themselves be copied