Aggregates/Admin/QualifyingPositionFixer.cs
Method Execute
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static void Execute(ICommandQueries commandQueries, IContingentViewQueries contingentViewQueries, MessageDispatcher dispatcher)
{
var commands = new List<ReorderParticipant>();
var provinces = new List<string> { "BC", "AB", "SK", "MB", "NO", "SO", "QC", "NL" };
Avoid deeply nested control flow statements. Open
Open
if (++i == bowler.QualifyingPosition)
continue;