Skip to content

stream: simplify writable's validChunk() - #20696

Merged
cjihrig merged 1 commit into
nodejs:masterfrom
cjihrig:chunk
May 14, 2018
Merged

stream: simplify writable's validChunk()#20696
cjihrig merged 1 commit into
nodejs:masterfrom
cjihrig:chunk

Conversation

@cjihrig

Copy link
Copy Markdown
Contributor

In the spirit of #20607, this commit simplifies validChunk() by removing an unnecessary intermediate variable.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

@nodejs-github-botnodejs-github-bot added the stream Issues and PRs related to the stream subsystem. label May 13, 2018
@lpinca

lpinca commented May 13, 2018

Copy link
Copy Markdown
Member

CI: https://ci.nodejs.org/job/node-test-pull-request/14830/

EDIT (cjihrig): For future reference, CI was green.

@lpincalpinca added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label May 13, 2018
@BridgeARBridgeAR added the fast-track PRs that do not need to wait for 48 hours to land. label May 13, 2018
This commit simplifies validChunk() by removing an unnecessary
intermediate variable.
PR-URL: nodejs#20696
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Jackson Tian <shyvo1987@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
@cjihrig
cjihrig merged commit a9c34b4 into nodejs:masterMay 14, 2018
@cjihrig
cjihrig deleted the chunk branch May 14, 2018 17:33
addaleax pushed a commit that referenced this pull request May 14, 2018
This commit simplifies validChunk() by removing an unnecessary
intermediate variable.
PR-URL: #20696
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Jackson Tian <shyvo1987@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
@addaleaxaddaleax mentioned this pull request May 14, 2018
MylesBorins pushed a commit that referenced this pull request May 22, 2018
This commit simplifies validChunk() by removing an unnecessary
intermediate variable.
PR-URL: #20696
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Jackson Tian <shyvo1987@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.fast-trackPRs that do not need to wait for 48 hours to land.streamIssues and PRs related to the stream subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants

@cjihrig@lpinca@JacksonTian@danbev@jasnell@addaleax@TimothyGu@BridgeAR@trivikr@nodejs-github-bot