Merge branch 'master' into vplyashkun/inplace_rename_lags

GitOrigin-RevId: 5c7f8c478e7328df1646879ede977efd7465adf8
This commit is contained in:
Vladimir Plyashkun
2019-04-26 15:32:25 +03:00
committed by intellij-monorepo-bot
parent e3ca319824
commit d990d75dba
799 changed files with 10473 additions and 8014 deletions

View File

@@ -0,0 +1,13 @@
// "Simplify boolean expression" "true"
class X {
void test(int a, int b) {
if (a + 1 + foo(a, b) > 5) {
}
}
private int foo(int a, int b) {
return a+b;
}
}

View File

@@ -0,0 +1,13 @@
// "Simplify boolean expression" "true"
class X {
void test(int a, int b) {
if (<caret>true && (a + 1) + foo((a), b) > 5) {
}
}
private int foo(int a, int b) {
return a+b;
}
}