Java: Implemented "Inline 'else' code branch" intention (IDEA-165428)

This commit is contained in:
Pavel Dolgov
2017-01-13 14:42:07 +03:00
parent 03250557c9
commit 37b6fb9405
17 changed files with 230 additions and 4 deletions
@@ -0,0 +1,10 @@
// "Inline 'else' branch" "true"
class T {
void f(boolean b) {
if (b) {
System.out.println("When true");
}
System.out.println("Otherwise");
}
}