mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
9 lines
262 B
Java
9 lines
262 B
Java
public class Npe {
|
|
public void a(Object o) {
|
|
if (o != null) {
|
|
// Do something
|
|
}
|
|
|
|
o.<warning descr="Method invocation 'equals' may produce 'NullPointerException'">equals</warning><error descr="Expected 1 argument but found 0">()</error>;
|
|
}
|
|
} |