Files
openide/java/java-tests/testData/codeInsight/invertIfCondition/afterUnreachable.java
Anna.Kozlova 338f87ab95 invert if: don't include single rBrace in block
found by property testing
2018-11-09 13:51:51 +01:00

20 lines
356 B
Java

// "Invert 'if' condition" "true"
class A {
void foo(boolean b, String[] entries) {
{
try {
String filePath = "";
for (String entry : entries) {
final String rootPath = "";
if (!b) {
}
else {
break;
}
}
}
finally {
}
}
}
}