Files
openide/java/java-tests/testData/codeInsight/joinLines/IfChainCorrectIndent.java
Tagir Valeev ad99d7cd91 [java] NestedIfJoinLinesHandler: correct if body indent (IDEA-196385)
GitOrigin-RevId: 3b0cd48480f8f647c1e7f7dca33fb8bf961b58c5
2021-02-01 10:46:44 +00:00

13 lines
280 B
Java

class Foo {
void test(int a, int b) {
<caret> if (a > 0) {
if (b > 0) {
System.out.println("A");
System.out.println("B");
System.out.println("C");
System.out.println("Deeper");
System.out.println("Wrong indent");
}
}
}
}