This commit is contained in:
Bas Leijdekkers
2011-02-25 23:05:51 +01:00
parent 70370a5456
commit d005c90dfa
@@ -147,7 +147,7 @@ public class ConfusingElseInspection extends BaseInspection {
if (ControlFlowUtils.statementMayCompleteNormally(thenBranch)) {
return;
}
if (reportWhenNoStatementFollow) {
if (!reportWhenNoStatementFollow) {
final PsiStatement nextStatement = getNextStatement(statement);
if (nextStatement == null) {
return;