mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
dataflow: do not treat fields with qualified this as effectively unqualified (IDEA-99722)
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
abstract class Foo {
|
||||
protected String 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>);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user