mirror of
https://github.com/aaru-dps/Aaru.Checksums.git
synced 2025-12-16 19:24:29 +00:00
REFACTOR: Use preferred braces style.
This commit is contained in:
@@ -87,7 +87,7 @@ namespace DiscImageChef.Checksums
|
||||
md5Provider.TransformFinalBlock(new byte[0], 0, 0);
|
||||
StringBuilder md5Output = new StringBuilder();
|
||||
|
||||
for(int i = 0; i < md5Provider.Hash.Length; i++) { md5Output.Append(md5Provider.Hash[i].ToString("x2")); }
|
||||
for(int i = 0; i < md5Provider.Hash.Length; i++) md5Output.Append(md5Provider.Hash[i].ToString("x2"));
|
||||
|
||||
return md5Output.ToString();
|
||||
}
|
||||
@@ -115,7 +115,7 @@ namespace DiscImageChef.Checksums
|
||||
hash = md5Provider.ComputeHash(fileStream);
|
||||
StringBuilder md5Output = new StringBuilder();
|
||||
|
||||
for(int i = 0; i < hash.Length; i++) { md5Output.Append(hash[i].ToString("x2")); }
|
||||
for(int i = 0; i < hash.Length; i++) md5Output.Append(hash[i].ToString("x2"));
|
||||
|
||||
fileStream.Close();
|
||||
|
||||
@@ -133,7 +133,7 @@ namespace DiscImageChef.Checksums
|
||||
hash = md5Provider.ComputeHash(data, 0, (int)len);
|
||||
StringBuilder md5Output = new StringBuilder();
|
||||
|
||||
for(int i = 0; i < hash.Length; i++) { md5Output.Append(hash[i].ToString("x2")); }
|
||||
for(int i = 0; i < hash.Length; i++) md5Output.Append(hash[i].ToString("x2"));
|
||||
|
||||
return md5Output.ToString();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user