mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-09 15:41:26 +07:00
invert if: stop at lambda level (IDEA-133023)
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
// "Invert If Condition" "true"
|
||||
class A {
|
||||
public void foo() {
|
||||
Runnable r = () -> {
|
||||
if (System.currentTimeMillis() <= 1) {
|
||||
System.err.println("Elvis lives");
|
||||
}
|
||||
else {
|
||||
return;
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user