mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-01 10:48:09 +07:00
Merge branch 'master' into vplyashkun/inplace_rename_lags
GitOrigin-RevId: 5c7f8c478e7328df1646879ede977efd7465adf8
This commit is contained in:
committed by
intellij-monorepo-bot
parent
e3ca319824
commit
d990d75dba
@@ -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;
|
||||
}
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user