...
Detection of invocations of Collection.remove()
whose operand fails to match the type of the elements of the underlying collection is straightforward. It is possible, albeit unlikely, that some of these invocations could be intended. The remainder are heuristically likely to be in error. Automated detection for other APIs could be possible.
Bibliography
<ac:structured-macro ac:name="unmigrated-wiki-markup |
...
" ac:schema-version="1" ac:macro-id="1dcf56da-cd1b-40f6-979d-93f0a304a43c"><ac:plain-text-body><![CDATA[ | [[Core |
...
Java |
...
2004 |
...
AA. |
...
Bibliography#Core |
...
Java |
...
04] |
...
] |
...
Chapter |
...
5 | ]]></ac:plain-text-body></ac:structured-macro> | ||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="faa333ab-5a3e-4c51-a89b-8e75ac73efc2"><ac:plain-text-body><![CDATA[ | [[JLS 2005 | AA. Bibliography#JLS 05]] | [§5.1.7, |
...
"Boxing |
...
Conversions" |
...
http://java.sun.com/docs/books/jls/third_edition/html/conversions.html#5.1.7 |
...
] | ]]></ac:plain-text-body></ac:structured-macro> |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="c5606081-46e9-47e6-89a5-3804c6b2f632"><ac:plain-text-body><![CDATA[ | [[Techtalk |
...
2007 |
...
AA. |
...
Bibliography#Techtalk |
...
07] |
...
] |
...
"The |
...
Joy |
...
of |
...
Sets" | ]]></ac:plain-text-body></ac:structured-macro> |
...
EXP09-J. Do not use side-effecting expressions in assertions 02. Expressions (EXP) EXP11-J. Never dereference null pointers