IfStatementWithIdenticalBranchesInspection: fix typo

GitOrigin-RevId: 2ce7e55c25fc65e677b667dd01798261f7451247
This commit is contained in:
Roman.Ivanov
2020-01-22 02:08:17 +00:00
committed by intellij-monorepo-bot
parent 6047a47035
commit 2b74454c35
@@ -279,7 +279,7 @@ public class IfStatementWithIdenticalBranchesInspection extends AbstractBaseJava
ifStatement.delete();
}
else if(thenElse.myCommonPartType != CommonPartType.WHOLE_BRANCH) {
// this is possible when one branch can be removed but it contains comments
// it is possible when one branch can be removed but it contains comments
return true;
}
else if (elseToDelete) {