mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-01 10:48:09 +07:00
Fixes: IDEA-98552 for() statement: Place ')' on new line → "incorrect" alignment IDEA-175560 Right parenthesis (rparen) on new line is not indented properly
11 lines
256 B
Java
11 lines
256 B
Java
// "Remove the 'contains' check" "true"
|
|
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);
|
|
}
|
|
}
|
|
} |