mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-08 12:48:12 +07:00
GitOrigin-RevId: 06dc2b043a9ad2d12eb9973df06d09e1383d714c
16 lines
385 B
Java
16 lines
385 B
Java
/*
|
|
Value is always false (str == null; line#9)
|
|
'str' was passed as an argument to a method accepting non-null parameter (str; line#8)
|
|
Parameter 'str' was inferred to be 'non-null' (str; line#13)
|
|
*/
|
|
class A {
|
|
public A(String str) {
|
|
foo(str);
|
|
if (<selection>str == null</selection>){
|
|
}
|
|
}
|
|
|
|
static void foo(String str) {
|
|
System.out.println(str.trim());
|
|
}
|
|
} |