3 <font face=
"verdana" size=
"-1">
4 This inspection reports method calls to parameterized collections, where actual argument type does not
5 correspond to the collection's elements type.
<br><br>
6 For example if you have the following code:
<br>
9 List
<Integer
> list = getListOfElements();
10 list.remove(
"");
12 <font face=
"verdana" size=
"-1">
13 - the call to
<b><font color=
"#000080">remove()
</font></b> will be highlighted.
<br>
17 <font face=
"verdana" size=
"-1">
18 The option '
<b>Report suspicious but possibly correct method calls
</b>' makes it possible to ignore
19 potentially correct code, like this:
<br>
23 Number number =
<b><font color=
"#000080">new
</font></b> Integer(
<font color=
"#0000FF">0</font>);
24 list.remove(number));