Do not indent control structures parentheses

Fixes:
IDEA-98552 for() statement: Place ')' on new line → "incorrect" alignment
IDEA-175560 Right parenthesis (rparen) on new line is not indented properly
This commit is contained in:
Rustam Vishnyakov
2018-04-25 18:10:02 +03:00
parent b1e88df085
commit 53d0972e83
5 changed files with 69 additions and 3 deletions
@@ -4,7 +4,7 @@ import java.util.List;
class Test {
void test(List<String> list, String key) {
if(key !=/*nullcheck*/ null && !key./*check*/isEmpty() /*and*/ /*key*/ //line comment
) {
) {
list.remove(key);
}
}