Files
Tagir Valeev 594243cb64 IDEA-197241 Track content equality instead of reference equality for Strings in DFA
Also fixes IDEA-197195 Code Inspection shows wrong results when comparing same String but with different references, one from string pool and one from heap
2018-08-13 17:07:56 +07:00

12 lines
277 B
Java

abstract class Foo {
protected Object bar;
}
class FF extends Foo {
class FFI extends Foo {
void f() {
if (this.bar == FF.this.bar);
if (<warning descr="Condition 'this.bar == FFI.this.bar' is always 'true'">this.bar == FFI.this.bar</warning>);
}
}
}