EditorConfig documentation test

GitOrigin-RevId: fd52ace3d7a32ecd02c2c5ab90e077967604c15e
This commit is contained in:
Rustam Vishnyakov
2019-06-08 15:31:49 +03:00
committed by intellij-monorepo-bot
parent e6e3eaa09d
commit 123242c4b2
11726 changed files with 314331 additions and 158049 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;
}
}