mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
cleanup
This commit is contained in:
@@ -418,14 +418,7 @@ public class IfCanBeSwitchInspection extends BaseInspection {
|
||||
switchStatementText.append(breakLabelString);
|
||||
switchStatementText.append(';');
|
||||
} else {
|
||||
final String identifierText = identifier.getText();
|
||||
if ("".equals(identifierText)) {
|
||||
switchStatementText.append("break ");
|
||||
switchStatementText.append(breakLabelString);
|
||||
switchStatementText.append(';');
|
||||
} else {
|
||||
switchStatementText.append(text);
|
||||
}
|
||||
switchStatementText.append(text);
|
||||
}
|
||||
} else if (element instanceof PsiBlockStatement ||
|
||||
element instanceof PsiCodeBlock ||
|
||||
|
||||
Reference in New Issue
Block a user