EmptyStatementBodyInspection: delete else fix

This commit is contained in:
Tagir Valeev
2017-09-27 10:24:56 +07:00
parent 97bede443c
commit f065fa4778
@@ -151,7 +151,7 @@ public class EmptyStatementBodyInspection extends BaseInspection {
if (elseToken == null) {
return;
}
registerError(elseToken);
registerError(elseToken, new DeleteElementFix(elseBranch));
}
}