mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IJ-CR-7352 [java] Update SuspiciousMethodCalls inspection example
GitOrigin-RevId: 64a1bac7db108e3f835df71e310b54b360c95d5a
This commit is contained in:
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<Integer, String> map, Object key) {
|
||||
return map.containsKey(key);
|
||||
}
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user