adhere to uniform naming scheme
This commit is contained in:
parent
9269f37861
commit
4e5e244bd2
@ -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++)
|
||||
|
||||
@ -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();
|
||||
}
|
||||
|
||||
@ -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));
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user