mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EmptyStatementBodyInspection: delete else fix
This commit is contained in:
@@ -151,7 +151,7 @@ public class EmptyStatementBodyInspection extends BaseInspection {
|
||||
if (elseToken == null) {
|
||||
return;
|
||||
}
|
||||
registerError(elseToken);
|
||||
registerError(elseToken, new DeleteElementFix(elseBranch));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user