Skip to content

Commit

Permalink
Revert "Refactored new List to new()"
Browse files Browse the repository at this point in the history
This reverts commit 39fe440.
  • Loading branch information
Rickedb committed Jan 14, 2022
1 parent 0bb4935 commit f9b8eb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OpenProtocolInterpreter/MID.cs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ protected virtual string Pack(List<DataField> dataFields, ref int prefixIndex)
return package;
}

protected virtual Dictionary<int, List<DataField>> RegisterDatafields() => new();
protected virtual Dictionary<int, List<DataField>> RegisterDatafields() => new Dictionary<int, List<DataField>>();

protected virtual Header ProcessHeader(string package)
{
Expand Down

0 comments on commit f9b8eb7

Please sign in to comment.