adhere to uniform naming scheme

This commit is contained in:
Michael Becker 2022-04-13 07:37:14 -04:00
parent 9269f37861
commit 4e5e244bd2
No known key found for this signature in database
GPG Key ID: DA394832305DA332
3 changed files with 4 additions and 4 deletions

View File

@ -138,7 +138,7 @@ namespace UniversalEditor.ConsoleApplication
if (args.Length > 0)
{
Console.WriteLine("looking for {0}", args[1]);
Checksum.Modules.Adler32.Adler32 adlr = new Checksum.Modules.Adler32.Adler32();
Checksum.Modules.Adler32.Adler32ChecksumModule adlr = new Checksum.Modules.Adler32.Adler32ChecksumModule();
string[] files = new string[args.Length - 2];
for (int i = 2; i <args.Length; i++)

View File

@ -75,7 +75,7 @@ namespace UniversalEditor.Checksum.Modules.Adler32
/// </remarks>
/// <see cref="ICSharpCode.SharpZipLib.Zip.Compression.Streams.InflaterInputStream"/>
/// <see cref="ICSharpCode.SharpZipLib.Zip.Compression.Streams.DeflaterOutputStream"/>
public sealed class Adler32 : ChecksumModule
public sealed class Adler32ChecksumModule : ChecksumModule
{
public override string Name
{
@ -102,7 +102,7 @@ namespace UniversalEditor.Checksum.Modules.Adler32
/// Creates a new instance of the Adler32 class.
/// The checksum starts off with a value of 1.
/// </summary>
public Adler32()
public Adler32ChecksumModule()
{
Reset();
}

View File

@ -35,7 +35,7 @@ namespace UniversalEditor.Checksum.Modules.GCF
public override void Update(byte[] buffer, int offset, int count)
{
Adler32.Adler32 adler32 = new Adler32.Adler32();
Adler32.Adler32ChecksumModule adler32 = new Adler32.Adler32ChecksumModule();
CRC32.CRC32ChecksumModule crc32 = new CRC32.CRC32ChecksumModule();
Value = (adler32.Calculate(buffer) ^ crc32.Calculate(buffer));
}