mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-10 13:17:09 +07:00
suggest to replace introduced parameter initializer with lambda when appropriate (IDEA-137827)
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
class Test {
|
||||
void foo(Runnable anObject) {
|
||||
anObject.run();
|
||||
}
|
||||
|
||||
void bar() {
|
||||
foo(() -> {
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user