Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos found by codespell in dotzlib #783

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix typos found by codespell in dotzlib
  • Loading branch information
DimitriPapadopoulos committed Feb 18, 2023
commit 127d5f4014081fde938e25d4b3ee5a8a5393d8ed
2 changes: 1 addition & 1 deletion contrib/dotzlib/DotZLib/ChecksumImpl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public ChecksumGeneratorBase(uint initialValue)
/// <exception cref="ArgumentException">The sum of offset and count is larger than the length of <c>data</c></exception>
/// <exception cref="NullReferenceException"><c>data</c> is a null reference</exception>
/// <exception cref="ArgumentOutOfRangeException">Offset or count is negative.</exception>
/// <remarks>All the other <c>Update</c> methods are implmeneted in terms of this one.
/// <remarks>All the other <c>Update</c> methods are implemented in terms of this one.
/// This is therefore the only method a derived class has to implement</remarks>
public abstract void Update(byte[] data, int offset, int count);

Expand Down
4 changes: 2 additions & 2 deletions contrib/dotzlib/DotZLib/CodecBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public void Dispose()
/// <remarks>This must be implemented by a derived class</remarks>
protected abstract void CleanUp();

// performs the release of the handles and calls the dereived CleanUp()
// performs the release of the handles and calls the derived CleanUp()
private void CleanUp(bool isDisposing)
{
if (!_isDisposed)
Expand All @@ -160,7 +160,7 @@ private void CleanUp(bool isDisposing)
#region Helper methods

/// <summary>
/// Copies a number of bytes to the internal codec buffer - ready for proccesing
/// Copies a number of bytes to the internal codec buffer - ready for processing
/// </summary>
/// <param name="data">The byte array that contains the data to copy</param>
/// <param name="startIndex">The index of the first byte to copy</param>
Expand Down
6 changes: 3 additions & 3 deletions contrib/dotzlib/DotZLib/GZipStream.cs
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ public override void SetLength(long value)
}

/// <summary>
/// Not suppported.
/// Not supported.
/// </summary>
/// <param name="offset"></param>
/// <param name="origin"></param>
Expand All @@ -268,7 +268,7 @@ public override void Flush()
}

/// <summary>
/// Gets/sets the current position in the <c>GZipStream</c>. Not suppported.
/// Gets/sets the current position in the <c>GZipStream</c>. Not supported.
/// </summary>
/// <remarks>In this implementation this property is not supported</remarks>
/// <exception cref="NotSupportedException">Always thrown</exception>
Expand All @@ -285,7 +285,7 @@ public override long Position
}

/// <summary>
/// Gets the size of the stream. Not suppported.
/// Gets the size of the stream. Not supported.
/// </summary>
/// <remarks>In this implementation this property is not supported</remarks>
/// <exception cref="NotSupportedException">Always thrown</exception>
Expand Down
2 changes: 1 addition & 1 deletion contrib/dotzlib/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Build instructions:
in the same directory as the DotZLib.build file.
You can define 2 properties on the nant command-line to control the build:
debug={true|false} to toggle between release/debug builds (default=true).
nunit={true|false} to include or esclude unit tests (default=true).
nunit={true|false} to include or exclude unit tests (default=true).
Also the target clean will remove binaries.
Output file (DotZLib.dll) will be found in either ./DotZLib/bin/release
or ./DotZLib/bin/debug, depending on whether you are building the release
Expand Down