[java-intentions] IterateOverIterable: disable for empty lists and newly-created arrays (IJ-CR-8575)

GitOrigin-RevId: 78ef76ab85b1e051d0bb887801379136be041c5b
This commit is contained in:
Tagir Valeev
2021-05-11 12:00:19 +00:00
committed by intellij-monorepo-bot
parent 886acd3667
commit a9069f60e8
5 changed files with 38 additions and 0 deletions
@@ -0,0 +1,6 @@
// "Disable 'Iterate'" "false"
class Test {
void foo() {
new String<caret>[10];
}
}