mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-02 11:18:16 +07:00
remove this qualifier on anonym -> method ref fix
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
// "Replace with method reference" "true"
|
||||
class Test {
|
||||
|
||||
private void doTest (){}
|
||||
|
||||
void foo(Runnable r){}
|
||||
|
||||
{
|
||||
foo (this::doTest);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
// "Replace with method reference" "true"
|
||||
class Test {
|
||||
|
||||
private void doTest (){}
|
||||
|
||||
void foo(Runnable r){}
|
||||
|
||||
{
|
||||
foo (new Ru<caret>nnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
doTest();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user