Skip to content

Refactoring (related to PR #2474 code-review)#2562

Open
goran-w wants to merge 1 commit into
sourcegit-scm:developfrom
goran-w:refactor-pr-2474-code-review
Open

Refactoring (related to PR #2474 code-review)#2562
goran-w wants to merge 1 commit into
sourcegit-scm:developfrom
goran-w:refactor-pr-2474-code-review

Conversation

@goran-w

@goran-w goran-w commented Jul 24, 2026

Copy link
Copy Markdown
Contributor
  • Pass unmodified 'lineBytes' into ParseChunkBodyLine(), and clarify the use of its indicator-stripped subset by adding new variable 'rawContent' (matching the existing variable 'content').
  • Move assignment of '_isInChunk = true' from (callee) ParseChunkStartLine() into (caller) ParseLine(), which makes it easier to see how the variable is used (since it is also checked and set to false in this outer scope).
  • Clarify the phrasing of two related comments.

* Pass unmodified 'lineBytes' into ParseChunkBodyLine(), and clarify the use of its indicator-stripped subset by adding new variable 'rawContent' (matching the existing variable 'content').
* Move assignment of '_isInChunk = true' from (callee) ParseChunkStartLine() into (caller) ParseLine(), which makes it easier to see how the variable is used (since it is also checked and set to false in this outer scope).
* Clarify the phrasing of two related comments.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant