diff --git a/plugins/InspectionGadgets/InspectionGadgetsAnalysis/src/com/siyeh/InspectionGadgetsBundle.properties b/plugins/InspectionGadgets/InspectionGadgetsAnalysis/src/com/siyeh/InspectionGadgetsBundle.properties index 86b92f43163e..d8ce66c56396 100644 --- a/plugins/InspectionGadgets/InspectionGadgetsAnalysis/src/com/siyeh/InspectionGadgetsBundle.properties +++ b/plugins/InspectionGadgets/InspectionGadgetsAnalysis/src/com/siyeh/InspectionGadgetsBundle.properties @@ -2203,7 +2203,7 @@ replace.equality.with.equals.name=Replace Equality with Equals replace.equality.with.equals.descriptor=Replace ''{0}'' with ''{1}equals()'' replace.equality.with.safe.equals.name=Replace Equality with Safe Equals replace.equality.with.safe.equals.descriptor=Replace ''{0}'' with safe ''{1}equals()'' -single.statement.in.block.name=Code Block Contains Single Statement +single.statement.in.block.name=Code block contains single statement single.statement.in.block.descriptor=''{0}'' contains single statement single.statement.in.block.quickfix=Remove braces from ''{0}'' statement -single.statement.in.block.family.quickfix=Remove Braces From Statement \ No newline at end of file +single.statement.in.block.family.quickfix=Remove braces from statement \ No newline at end of file diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ControlFlowStatementWithoutBraces.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ControlFlowStatementWithoutBraces.html index dd8eb8837735..5afff14a47b8 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ControlFlowStatementWithoutBraces.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ControlFlowStatementWithoutBraces.html @@ -4,8 +4,6 @@ Reports any if, while or for statements without braces. Braces make the code easier to read and help prevent errors when modifying the code. - -
- +
The quick fix for the inspection wraps the statement body with braces.