Versions Compared

Key

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

...

Search for vulnerabilities resulting from the violation of this rule on the CERT website.

Bibliography

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

...

" ac:schema-version="1" ac:macro-id="8ce370d9-ccf4-4b2e-9ff8-fd673459399b"><ac:plain-text-body><![CDATA[

[[Daconta

...

2003

...

AA.

...

Bibliography#Daconta

...

03]

...

]

...

Item

...

7:

...

My

...

Assertions

...

Are

...

Not

...

Gratuitous

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

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b99c45e8-4e6a-4aa7-9b75-b1f0a0a77b58"><ac:plain-text-body><![CDATA[

[[ESA 2005

AA. Bibliography#ESA 05]]

Rule 68: Explicitly check method parameters for validity, and throw an adequate exception in case they are not valid. Do not use the assert statement for this purpose

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

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="dd3d850d-187a-4a85-afe4-cc4cd6a56194"><ac:plain-text-body><![CDATA[

[[JLS 2005

AA. Bibliography#JLS 05]]

14.10 The assert Statement

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

...

MET01-J. Validate method parameters      05. Methods (MET)