mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
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:
+1
-1
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user