mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-04 20:30:42 +07:00
Fixes IDEA-289497 'NullPointerException' recommendations contradiction GitOrigin-RevId: 07be3f2ee5ce03bd7380b563806fcad03fb2a0f5
7 lines
148 B
Java
7 lines
148 B
Java
// "Surround with 'if (i != null)'" "true"
|
|
class A {
|
|
void foo(int x){
|
|
String i = x > 0 ? "" : null;
|
|
i.has<caret>hCode();
|
|
}
|
|
} |