Skip to content

Commit 3cab998

Browse files
committed
Clean up the naming to make more sense of its logic flow.
1 parent 8c36cd0 commit 3cab998

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

RetailCoder.VBE/UI/Command/ReparseCommand.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ protected override void OnExecute(object parameter)
5454
return;
5555
}
5656

57-
if (CompileAllProjects(out var failedNames))
57+
if (AreAllProjectsCompiled(out var failedNames))
5858
{
5959
if (!PromptUserToContinue(failedNames))
6060
{
@@ -67,8 +67,6 @@ protected override void OnExecute(object parameter)
6767

6868
private bool VerifyCompileOnDemand()
6969
{
70-
//Command_Reparse_CompileOnDemandEnabled
71-
7270
if (_vbeSettings.CompileOnDemand)
7371
{
7472
return DialogResult.Yes == _messageBox.Show(RubberduckUI.Command_Reparse_CompileOnDemandEnabled,
@@ -79,7 +77,7 @@ private bool VerifyCompileOnDemand()
7977
return true;
8078
}
8179

82-
private bool CompileAllProjects(out List<string> failedNames)
80+
private bool AreAllProjectsCompiled(out List<string> failedNames)
8381
{
8482
failedNames = new List<string>();
8583
using (var projects = _vbe.VBProjects)

0 commit comments

Comments
 (0)