mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 19:24:27 +00:00
REFACTOR: Use preferred braces style.
This commit is contained in:
@@ -67,11 +67,9 @@ namespace DiscImageChef.Tests.Devices
|
||||
"----------------", "------------------------", "------------------------",
|
||||
"----------", "----------", "--------");
|
||||
for(int i = 0; i < devices.Length; i++)
|
||||
{
|
||||
DicConsole.WriteLine("{6,-8}|{0,-22}|{1,-16}|{2,-24}|{3,-24}|{4,-10}|{5,-10}", devices[i].Path,
|
||||
devices[i].Vendor, devices[i].Model, devices[i].Serial, devices[i].Bus,
|
||||
devices[i].Supported, i + 1);
|
||||
}
|
||||
|
||||
DicConsole.Write("Please choose which drive to test (0 to exit): ");
|
||||
strDev = System.Console.ReadLine();
|
||||
|
||||
@@ -220,7 +220,6 @@ namespace DiscImageChef.Tests.Devices.SCSI
|
||||
DicConsole.WriteLine("GET CONFIGURATION length is {0} bytes", ftr.DataLength);
|
||||
DicConsole.WriteLine("GET CONFIGURATION current profile is {0:X4}h", ftr.CurrentProfile);
|
||||
if(ftr.Descriptors != null)
|
||||
{
|
||||
foreach(Decoders.SCSI.MMC.Features.FeatureDescriptor desc in ftr.Descriptors)
|
||||
{
|
||||
DicConsole.WriteLine("Feature {0:X4}h", desc.Code);
|
||||
@@ -465,7 +464,6 @@ namespace DiscImageChef.Tests.Devices.SCSI
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
DicConsole.WriteLine("Press any key to continue...");
|
||||
@@ -1710,7 +1708,6 @@ namespace DiscImageChef.Tests.Devices.SCSI
|
||||
DicConsole.WriteLine("Device: {0}", devPath);
|
||||
DicConsole.WriteLine("READ TOC/PMA/ATIP decoded buffer:");
|
||||
if(buffer != null)
|
||||
{
|
||||
switch(format)
|
||||
{
|
||||
case 0:
|
||||
@@ -1738,7 +1735,6 @@ namespace DiscImageChef.Tests.Devices.SCSI
|
||||
PrintHex.PrintHexArray(buffer, 64);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
DicConsole.WriteLine("Press any key to continue...");
|
||||
System.Console.ReadKey();
|
||||
|
||||
Reference in New Issue
Block a user