inline: do not delete call but warn when resulted expr is not a valid statement (IDEA-88886)

This commit is contained in:
anna
2012-07-16 19:20:51 +02:00
parent bea215be6b
commit 41932a9527
5 changed files with 54 additions and 4 deletions
@@ -2,7 +2,8 @@ class A {
public String method(boolean b) {
if (b) {
return;
return "b";
}
return "a";
}
}