Files
openide/java/java-tests/testData/codeInsight/joinLines/IfChainNoBraces_after.java
T
Tagir Valeev 2590753b28 NestedIfJoinLinesHandler: fix polyadic case.
Fixes IDEA-190660 ClassCastException after code reformatting using 'Join Lines'
Fixes EA-119515 - CCE: NestedIfJoinLinesHandler.tryJoinLines
2018-04-21 18:11:50 +07:00

5 lines
110 B
Java

class Foo {
void test(int a, int b) {
if(a > 0 <caret>&& b < 0) System.out.println(a + b);
}
}