...
This compliant solution removes the call to the overridable method. When removing such calls is infeasible, ensure that declare the method is declared private or final.
| Code Block | ||
|---|---|---|
| ||
private void readObject(final ObjectInputStream stream)
throws IOException, ClassNotFoundException {
stream.defaultReadObject();
}
|
...
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d33504fed869ca9f-60263fe8-40f64934-aa708a31-479b649fbdd1b742990e8a25"><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="8369f6fc49276a5d-9451abc2-4e794bb4-92aa9766-7523b1f1e0c36af0e1b9a224"><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> |
...