Skip to content

Fix comments for compression area - #131648

Open
alinpahontu2912 wants to merge 1 commit into
dotnet:mainfrom
alinpahontu2912:alinpahontu2912/fix-stale-comments-and-typos
Open

Fix comments for compression area#131648
alinpahontu2912 wants to merge 1 commit into
dotnet:mainfrom
alinpahontu2912:alinpahontu2912/fix-stale-comments-and-typos

Conversation

@alinpahontu2912

Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings July 31, 2026 14:32
@alinpahontu2912 alinpahontu2912 self-assigned this Jul 31, 2026
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 3 pipeline(s).
13 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @karelz, @dotnet/area-system-io-compression
See info in area-owners.md if you want to be subscribed.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR is a documentation-only cleanup that corrects typos and slightly clarifies a few inline comments in the compression and tar libraries, improving readability without changing behavior.

Changes:

  • Fix spelling/formatting issues in comments (e.g., “becasue” → “because”, “bloc” → “block”, “vresion” → “version”).
  • Clarify a couple of GnuSparseStream comments to better match the current implementation details.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/libraries/System.IO.Compression/src/System/IO/Compression/ZipBlocks.cs Fixes a typo and cleans up the EOCD-related comment in sync block reading.
src/libraries/System.IO.Compression/src/System/IO/Compression/ZipBlocks.Async.cs Same comment fix as the sync path, for the async EOCD reader.
src/libraries/System.IO.Compression.Brotli/src/System/IO/Compression/enc/BrotliEncoderOperation.cs Fixes “Metadata bloc” → “Metadata block” in enum XML documentation.
src/libraries/System.Formats.Tar/src/System/Formats/Tar/TarHeader.Write.cs Fixes “vresion” → “version” in a header-writing comment.
src/libraries/System.Formats.Tar/src/System/Formats/Tar/GnuSparseStream.cs Adjusts comments to align with actual fields/behavior and improves phrasing.

@alinpahontu2912 alinpahontu2912 added this to the Future milestone Jul 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants