mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-06 08:00:18 +07:00
GitOrigin-RevId: 01b45074f9c8adc03bc788958ecba2fde134e55d
15 lines
385 B
Java
15 lines
385 B
Java
/*
|
|
Value is always false (Objects.isNull(s.trim()); line#11)
|
|
According to inferred contract, method 'isNull' returns 'false' when s.trim() != null (isNull; line#11)
|
|
Method 'trim' is externally annotated as 'non-null' (trim; line#11)
|
|
*/
|
|
|
|
import java.util.Objects;
|
|
|
|
class Test {
|
|
void test(String s) {
|
|
if (<selection>Objects.isNull(s.trim())</selection>) {
|
|
|
|
}
|
|
}
|
|
} |