Skip to content

Commit f5ffe6a

Browse files
author
SlavaRa
committed
Minor refactor...
1 parent 097a24f commit f5ffe6a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

External/Plugins/CodeRefactor/Provider/MovingHelper.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ public static void AddToQueue(Dictionary<string, string> oldPathToNewPath, bool
2626
public static void AddToQueue(Dictionary<string, string> oldPathToNewPath, bool outputResults, bool renaming)
2727
{
2828
queue.Add(new QueueItem(oldPathToNewPath, outputResults, renaming));
29-
if (currentCommand == null) MoveFirst();
29+
if (currentCommand == null) ExecuteFirst();
3030
}
3131

32-
private static void MoveFirst()
32+
private static void ExecuteFirst()
3333
{
3434
try
3535
{
@@ -60,7 +60,7 @@ private static void OnRefactorComplete(object sender, RefactorCompleteEventArgs<
6060
results[path].AddRange(entry.Value);
6161
}
6262
}
63-
if (queue.Count > 0) MoveFirst();
63+
if (queue.Count > 0) ExecuteFirst();
6464
else
6565
{
6666
if (results.Count > 0) ReportResults();

0 commit comments

Comments
 (0)