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

remove some duplicated words in the doc comments #476

Merged
merged 2 commits into from
Jul 4, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ namespace ICSharpCode.SharpZipLib
public class ValueOutOfRangeException : StreamDecodingException
{
/// <summary>
/// Initializes a new instance of the ValueOutOfRangeException class naming the the causing variable
/// Initializes a new instance of the ValueOutOfRangeException class naming the causing variable
/// </summary>
/// <param name="nameOfValue">Name of the variable, use: nameof()</param>
public ValueOutOfRangeException(string nameOfValue)
: base($"{nameOfValue} out of range") { }

/// <summary>
/// Initializes a new instance of the ValueOutOfRangeException class naming the the causing variable,
/// Initializes a new instance of the ValueOutOfRangeException class naming the causing variable,
/// it's current value and expected range.
/// </summary>
/// <param name="nameOfValue">Name of the variable, use: nameof()</param>
Expand All @@ -28,7 +28,7 @@ public ValueOutOfRangeException(string nameOfValue, long value, long maxValue, l
: this(nameOfValue, value.ToString(), maxValue.ToString(), minValue.ToString()) { }

/// <summary>
/// Initializes a new instance of the ValueOutOfRangeException class naming the the causing variable,
/// Initializes a new instance of the ValueOutOfRangeException class naming the causing variable,
/// it's current value and expected range.
/// </summary>
/// <param name="nameOfValue">Name of the variable, use: nameof()</param>
Expand Down
4 changes: 2 additions & 2 deletions src/ICSharpCode.SharpZipLib/Tar/TarBuffer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ private bool ReadRecord()
{
if (inputStream == null)
{
throw new TarException("no input stream stream defined");
throw new TarException("no input stream defined");
}

currentBlockIndex = 0;
Expand Down Expand Up @@ -492,7 +492,7 @@ public void WriteBlock(byte[] buffer, int offset)

if (outputStream == null)
{
throw new TarException("TarBuffer.WriteBlock - no output stream stream defined");
throw new TarException("TarBuffer.WriteBlock - no output stream defined");
}

if ((offset < 0) || (offset >= buffer.Length))
Expand Down
2 changes: 1 addition & 1 deletion src/ICSharpCode.SharpZipLib/Tar/TarInputStream.cs
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,7 @@ public interface IEntryFactory
/// Create a tar entry based on the header information passed
/// </summary>
/// <param name="headerBuffer">
/// Buffer containing header information to create an an entry from.
/// Buffer containing header information to create an entry from.
/// </param>
/// <returns>
/// Created TarEntry or descendant class
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public InflaterInputBuffer(Stream stream, int bufferSize)
#endregion Constructors

/// <summary>
/// Get the length of bytes bytes in the <see cref="RawData"/>
/// Get the length of bytes in the <see cref="RawData"/>
/// </summary>
public int RawLength
{
Expand Down
2 changes: 1 addition & 1 deletion src/ICSharpCode.SharpZipLib/Zip/ZipFile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public enum TestOperation
}

/// <summary>
/// Status returned returned by <see cref="ZipTestResultHandler"/> during testing.
/// Status returned by <see cref="ZipTestResultHandler"/> during testing.
/// </summary>
/// <seealso cref="ZipFile.TestArchive(bool)">TestArchive</seealso>
public class TestStatus
Expand Down
2 changes: 1 addition & 1 deletion src/ICSharpCode.SharpZipLib/Zip/ZipHelperStream.cs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public ZipHelperStream(Stream stream)
#endregion Constructors

/// <summary>
/// Get / set a value indicating wether the the underlying stream is owned or not.
/// Get / set a value indicating wether the underlying stream is owned or not.
/// </summary>
/// <remarks>If the stream is owned it is closed when this instance is closed.</remarks>
public bool IsStreamOwner
Expand Down