...
This compliant solution enforces type safety by changing the addToList()
function method signature to enforce proper type checking. It also complies by adding a String
rather than an Integer
.
...
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="aa76bbac1e1da098-cf6628f3-45894ab8-b3edbbbb-5b2337e80d50f87afcf0f013"><ac:plain-text-body><![CDATA[ | [[Bloch 2008 | AA. Bibliography#Bloch 08]] | Item 23: "Don't use raw types in new code" | ]]></ac:plain-text-body></ac:structured-macro> | |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="674eba476b31d32a-67aa9254-4796499b-ae69b86d-adf38f76ed74c30c901b857b"><ac:plain-text-body><![CDATA[ | [[Bloch 2007 | AA. Bibliography#Bloch 07]] | Generics, 1. "Avoid Raw Types in New Code" | ]]></ac:plain-text-body></ac:structured-macro> | |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="09dc24f7607a4ae7-8a06a99b-44b44a9c-88cc80a4-6de059cc5ff879f169e8c523"><ac:plain-text-body><![CDATA[ | [[Bloch 2005 | AA. Bibliography#Bloch 05]] | Puzzle 88: Raw Deal | ]]></ac:plain-text-body></ac:structured-macro> | |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="331bd569b9820e17-52145542-43ab41d6-8ca2bce6-1498450065cd2f9c35c4466a"><ac:plain-text-body><![CDATA[ | [[Darwin 2004 | AA. Bibliography#Darwin 04]] | 8.3 Avoid Casting by Using Generics | ]]></ac:plain-text-body></ac:structured-macro> | |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d20b518bc2863a66-bd5cfa43-47c445f9-93cd9769-7e6d51380de2150adbe787a2"><ac:plain-text-body><![CDATA[ | [[JavaGenerics 2004 | AA. Bibliography#JavaGenerics 04]] |
| ]]></ac:plain-text-body></ac:structured-macro> | |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="197660c6a2ec1e4f-50e383dd-48b147b5-bc45b82a-1a9d9c487013fabad20fd1ef"><ac:plain-text-body><![CDATA[ | [[JLS 2005 | AA. Bibliography#JLS 05]] | [Chapter 5 "Conversions and Promotions" | http://java.sun.com/docs/books/jls/third_edition/html/conversions.html] | ]]></ac:plain-text-body></ac:structured-macro> |
| |||||
| |||||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1cdfe10134c153d6-745c0f91-467a48e6-a96b9aa7-3fd7616567806318608c702b"><ac:plain-text-body><![CDATA[ | [[Langer 2008 | AA. Bibliography#Langer 08]] | Topic 3, "[Coping with Legacy | http://www.angelikalanger.com/GenericsFAQ/FAQSections/ProgrammingIdioms.html#Topic3]" | ]]></ac:plain-text-body></ac:structured-macro> |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="c384681d5409b0fc-c5a3d47a-43e74d64-832a89d6-18f8450158dfa0a072a49c70"><ac:plain-text-body><![CDATA[ | [[Naftalin 2006 | AA. Bibliography#Naftalin 06]] | Chapter 8, "Effective Generics" | ]]></ac:plain-text-body></ac:structured-macro> | |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="54dae1c7ae2fed12-dcc1a337-43fb432e-94a4823f-48f02d9ad80361c8741b81e2"><ac:plain-text-body><![CDATA[ | [[Naftalin 2006b | AA. Bibliography#Naftalin 06b]] | "Principle of Indecent Exposure" | ]]></ac:plain-text-body></ac:structured-macro> | |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1b9266c311785233-ddee89a3-4b764d3d-9bdeac96-e2fba67514d7559ac2c80fa4"><ac:plain-text-body><![CDATA[ | [[Schildt 2007 | AA. Bibliography#Schildt 07]] | "Create a checked collection" | ]]></ac:plain-text-body></ac:structured-macro> |
...