mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-25 14:25:04 +07:00
inline method: do not insert unnecessary qualification (IDEA-70786 )
This commit is contained in:
+20
@@ -0,0 +1,20 @@
|
||||
class A {
|
||||
|
||||
public void g() {
|
||||
}
|
||||
}
|
||||
|
||||
class B extends A {
|
||||
public void g() {
|
||||
|
||||
}
|
||||
public void h() {
|
||||
new Runnable() {
|
||||
|
||||
@Override
|
||||
public void run() {
|
||||
g();
|
||||
}
|
||||
}.run();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user