Versions Compared

Key

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

...

Also see the related rule MET07 MET06-J. Do not invoke overridable methods in clone().

Noncompliant Code Example

...

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="7542150297c94588-0c1e2a74-4ad04494-b92aa6c6-08968326b9fe27915ec70428"><ac:plain-text-body><![CDATA[

[[API 2006

AA. Bibliography#API 06]]

 

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

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="c3301f477ba3c7e7-3413eb17-4ac9481d-a59bbe4f-ef2a0c36ca1ffaa2c85e8134"><ac:plain-text-body><![CDATA[

[[SCG 2009

AA. Bibliography#SCG 09]]

Guideline 4-4 Prevent constructors from calling methods that can be overridden

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

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="92b6d77f6677dcb8-3425edf0-4a844f8d-bc05a7e7-cd7d05359eaf66ddc71ff695"><ac:plain-text-body><![CDATA[

[[Bloch 2008

AA. Bibliography#Bloch 08]]

Item 17: "Design and document for inheritance or else prohibit it"

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

...