EmptyStatementBodyInspection: delete body on empty foreach

This commit is contained in:
Tagir Valeev
2019-01-21 16:40:02 +07:00
parent b6fe08dbf9
commit c016d59b0c
3 changed files with 17 additions and 1 deletions
@@ -0,0 +1,5 @@
// "Delete element" "true"
class Test {
void test(String[] arr) {
}
}
@@ -0,0 +1,8 @@
// "Delete element" "true"
class Test {
void test(String[] arr) {
fo<caret>r (String string : arr) {
}
}
}