Skip to content

Commit af52720

Browse files
committed
Remove eliminated [If,Else]Block options
1 parent 862017b commit af52720

File tree

2 files changed

+0
-109
lines changed

2 files changed

+0
-109
lines changed

Rubberduck.Parsing/Inspections/Resources/InspectionsUI.resx

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -692,22 +692,6 @@ If the parameter can be null, ignore this inspection result; passing a null valu
692692
<data name="SynchronizeAttributesQuickFix" xml:space="preserve">
693693
<value>Synchronize attributes/annotations in module</value>
694694
</data>
695-
<data name="EmptyIfBlockInspectionMeta" xml:space="preserve">
696-
<value>An If block should have executable statements</value>
697-
<comment>Removal</comment>
698-
</data>
699-
<data name="EmptyIfBlockInspectionName" xml:space="preserve">
700-
<value>Empty If block</value>
701-
<comment>Removal</comment>
702-
</data>
703-
<data name="EmptyIfBlockInspectionResultFormat" xml:space="preserve">
704-
<value>If block has no executable statements</value>
705-
<comment>Removal</comment>
706-
</data>
707-
<data name="RemoveEmptyIfBlockQuickFix" xml:space="preserve">
708-
<value>Remove empty If block</value>
709-
<comment>Removal</comment>
710-
</data>
711695
<data name="RedundantOptionInspectionMeta" xml:space="preserve">
712696
<value>Being the default/implicit setting for this option, this instruction can be safely omitted.</value>
713697
</data>
@@ -770,22 +754,6 @@ If the parameter can be null, ignore this inspection result; passing a null valu
770754
<data name="CodeInspectionSeverity_Warning" xml:space="preserve">
771755
<value>Warning</value>
772756
</data>
773-
<data name="EmptyElseBlockInspectionResultFormat" xml:space="preserve">
774-
<value>Else block contains no executable statements</value>
775-
<comment>Removal</comment>
776-
</data>
777-
<data name="EmptyElseBlockInspectionMeta" xml:space="preserve">
778-
<value>An Else block should have executable statements. An empty block serves no purpose and can be confusing for the maintainer. Was this empty execution path originally intended to do something? Clear code only contains executable paths.</value>
779-
<comment>Removal</comment>
780-
</data>
781-
<data name="EmptyElseBlockInspectionName" xml:space="preserve">
782-
<value>Empty Else block</value>
783-
<comment>Removal</comment>
784-
</data>
785-
<data name="RemoveEmptyElseBlockQuickFix" xml:space="preserve">
786-
<value>Remove empty Else block</value>
787-
<comment>Removal</comment>
788-
</data>
789757
<data name="IntegerDataTypeInspectionMeta" xml:space="preserve">
790758
<value>The maximum value of a 16-bit signed integer is 32,767 - using a 32-bit (Long) integer data type where possible can help prevent 'Overflow' run-time errors, and is better handled by modern CPUs.</value>
791759
</data>
@@ -858,22 +826,17 @@ If the parameter can be null, ignore this inspection result; passing a null valu
858826
</data>
859827
<data name="EmptyConditionBlockInspectionsMeta" xml:space="preserve">
860828
<value>An If/Else block should have executable statements. An empty block serves no purpose and can be confusing for the maintainer. Was this empty execution path originally intended to do something? Clear code only contains executable paths.</value>
861-
<comment>Condense: EmptyIfBlockInspction &amp;EmptyElseBlockInspection</comment>
862829
</data>
863830
<data name="EmptyConditionBlockInspectionsName" xml:space="preserve">
864831
<value>Empty condition (If or Else) block</value>
865-
<comment>Condense: EmptyIfBlockInspction &amp;EmptyElseBlockInspection</comment>
866832
</data>
867833
<data name="EmptyConditionBlockInspectionsQuickFix" xml:space="preserve">
868834
<value>Remove the empty block. ***Note: Empty If necessitates applying 'Not' to the check ensuring the else block was inverted.</value>
869-
<comment>Condense: EmptyIfBlockInspction &amp;EmptyElseBlockInspection</comment>
870835
</data>
871836
<data name="EmptyConditionBlockInspectionsResultFormat" xml:space="preserve">
872837
<value> </value>
873-
<comment>Condense: EmptyIfBlockInspction &amp;EmptyElseBlockInspection</comment>
874838
</data>
875839
<data name="RemoveEmptyConditionBlockQuickFix" xml:space="preserve">
876840
<value>Removy empty If and Else blocks</value>
877-
<comment>Condense: RemoveEmpty[If,Else]BlockQuickFix</comment>
878841
</data>
879842
</root>

Rubberduck.Parsing/Inspections/Resources/InspectionsUI1.Designer.cs

Lines changed: 0 additions & 72 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)