mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
[Refactor] Use collection expressions.
This commit is contained in:
@@ -172,10 +172,10 @@ public sealed partial class NintendoPlugin
|
||||
}
|
||||
else
|
||||
{
|
||||
fields.FirstPartitions = Array.Empty<NintendoPartition>();
|
||||
fields.SecondPartitions = Array.Empty<NintendoPartition>();
|
||||
fields.ThirdPartitions = Array.Empty<NintendoPartition>();
|
||||
fields.FourthPartitions = Array.Empty<NintendoPartition>();
|
||||
fields.FirstPartitions = [];
|
||||
fields.SecondPartitions = [];
|
||||
fields.ThirdPartitions = [];
|
||||
fields.FourthPartitions = [];
|
||||
}
|
||||
|
||||
AaruConsole.DebugWriteLine(MODULE_NAME, "discType = {0}", fields.DiscType);
|
||||
|
||||
Reference in New Issue
Block a user