suggest to replace introduced parameter initializer with lambda when appropriate (IDEA-137827)

This commit is contained in:
Anna Kozlova
2015-09-08 11:29:52 +03:00
parent a3847653db
commit 46847b71fd
11 changed files with 90 additions and 20 deletions
@@ -0,0 +1,10 @@
class Test {
void foo(Runnable anObject) {
anObject.run();
}
void bar() {
foo(() -> {
});
}
}