mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 00:11:26 +07:00
dfa: comparison with other variables shouldn't affect a variable's nullability status
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
class Bar3 {
|
||||
|
||||
public void main2(Object o1, Object o2) {
|
||||
if (o1 == null) {
|
||||
System.out.println();
|
||||
}
|
||||
if (o1 != o2 || o2.hashCode() == 3) {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user