mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
REFACTOR: Use preferred braces style.
This commit is contained in:
@@ -155,7 +155,6 @@ namespace DiscImageChef.Filesystems.AppleMFS
|
||||
if(pathElements.Length != 1) return Errno.NotSupported;
|
||||
|
||||
if(debug)
|
||||
{
|
||||
if(string.Compare(path, "$", StringComparison.InvariantCulture) == 0 ||
|
||||
string.Compare(path, "$Boot", StringComparison.InvariantCulture) == 0 ||
|
||||
string.Compare(path, "$Bitmap", StringComparison.InvariantCulture) == 0 ||
|
||||
@@ -197,7 +196,6 @@ namespace DiscImageChef.Filesystems.AppleMFS
|
||||
|
||||
return Errno.NoError;
|
||||
}
|
||||
}
|
||||
|
||||
uint fileID;
|
||||
MFS_FileEntry entry;
|
||||
@@ -301,14 +299,12 @@ namespace DiscImageChef.Filesystems.AppleMFS
|
||||
else
|
||||
{
|
||||
if(resourceFork)
|
||||
{
|
||||
if(ms.Length < entry.flRLgLen) buf = ms.ToArray();
|
||||
else
|
||||
{
|
||||
buf = new byte[entry.flRLgLen];
|
||||
Array.Copy(ms.ToArray(), 0, buf, 0, buf.Length);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if(ms.Length < entry.flLgLen) buf = ms.ToArray();
|
||||
|
||||
@@ -49,7 +49,6 @@ namespace DiscImageChef.Filesystems.AppleMFS
|
||||
xattrs = new List<string>();
|
||||
|
||||
if(debug)
|
||||
{
|
||||
if(string.Compare(path, "$", StringComparison.InvariantCulture) == 0 ||
|
||||
string.Compare(path, "$Bitmap", StringComparison.InvariantCulture) == 0 ||
|
||||
string.Compare(path, "$Boot", StringComparison.InvariantCulture) == 0 ||
|
||||
@@ -60,7 +59,6 @@ namespace DiscImageChef.Filesystems.AppleMFS
|
||||
|
||||
return Errno.NoError;
|
||||
}
|
||||
}
|
||||
|
||||
uint fileID;
|
||||
MFS_FileEntry entry;
|
||||
@@ -94,12 +92,10 @@ namespace DiscImageChef.Filesystems.AppleMFS
|
||||
if(pathElements.Length != 1) return Errno.NotSupported;
|
||||
|
||||
if(debug)
|
||||
{
|
||||
if(string.Compare(path, "$", StringComparison.InvariantCulture) == 0 ||
|
||||
string.Compare(path, "$Bitmap", StringComparison.InvariantCulture) == 0 ||
|
||||
string.Compare(path, "$Boot", StringComparison.InvariantCulture) == 0 ||
|
||||
string.Compare(path, "$MDB", StringComparison.InvariantCulture) == 0)
|
||||
{
|
||||
if(device.ImageInfo.ReadableSectorTags.Contains(DiscImages.SectorTagType.AppleSectorTag) &&
|
||||
string.Compare(xattr, "com.apple.macintosh.tags", StringComparison.InvariantCulture) == 0)
|
||||
{
|
||||
@@ -132,8 +128,6 @@ namespace DiscImageChef.Filesystems.AppleMFS
|
||||
}
|
||||
}
|
||||
else return Errno.NoSuchExtendedAttribute;
|
||||
}
|
||||
}
|
||||
|
||||
uint fileID;
|
||||
MFS_FileEntry entry;
|
||||
|
||||
Reference in New Issue
Block a user