inline: remove side effect free unused after inline return (IDEA-169056)

This commit is contained in:
Anna.Kozlova
2017-11-16 18:39:20 +01:00
parent 4a81f24c39
commit 28e0e142d6
4 changed files with 30 additions and 2 deletions
@@ -0,0 +1,11 @@
class InlineMethod {
void test() {
oth<caret>er();
}
InlineMethod other() {
System.out.println("");
return this;
}
}
@@ -0,0 +1,11 @@
class InlineMethod {
void test() {
System.out.println("");
}
InlineMethod other() {
System.out.println("");
return this;
}
}