IJ-CR-7352 [java] Update SuspiciousMethodCalls inspection example

GitOrigin-RevId: 64a1bac7db108e3f835df71e310b54b360c95d5a
This commit is contained in:
Louis Vignier
2021-03-24 11:53:57 +00:00
committed by intellij-monorepo-bot
parent 407cadb914
commit 99450af3ee
@@ -9,12 +9,12 @@ correspond to the collection's elements type.
</pre>
<!-- tooltip end -->
<p>
The option '<b>Report suspicious but possibly correct method calls</b>' makes it possible to ignore
potentially correct code, like this:
Use the checkbox below to report potentially correct code, like this:
</p>
<pre>
Number number = new Integer(0);
list.remove(number);
public boolean accept(Map&lt;Integer, String&gt; map, Object key) {
return map.containsKey(key);
}
</pre>
</body>
</html>