simplification following IDEA-CR-21392

This commit is contained in:
Anna Kozlova
2017-05-26 13:36:45 +03:00
parent 51bcfcecf9
commit 5e77c443de
2 changed files with 14 additions and 16 deletions
@@ -2,11 +2,10 @@
class Test {
void foo() {
Runnable r = () -> {
((Runnable) () -> {
if (true) return;
System.out.println("");
};
r.r<caret>un();
}).r<caret>un();
System.out.println("");
}
}