Skip to content

Remove redundant not null check in HttpRemoteTask#12880

Merged
ebyhr merged 1 commit intotrinodb:masterfrom
polaris6:remove-redundant-check
Jun 16, 2022
Merged

Remove redundant not null check in HttpRemoteTask#12880
ebyhr merged 1 commit intotrinodb:masterfrom
polaris6:remove-redundant-check

Conversation

@polaris6
Copy link
Copy Markdown
Member

Description

Condition tableScanSplits != null is always true, because Multimap.get returns an empty collection, not null.

Documentation

(✓) No documentation is needed.

Release notes

(✓) No release notes entries required.

Condition `tableScanSplits != null` is always true, because `Multimap.get` returns an empty collection, not null.
@cla-bot cla-bot bot added the cla-signed label Jun 16, 2022
@ebyhr ebyhr merged commit 983488e into trinodb:master Jun 16, 2022
@ebyhr ebyhr added the no-release-notes This pull request does not require release notes entry label Jun 16, 2022
@github-actions github-actions bot added this to the 387 milestone Jun 16, 2022
@polaris6 polaris6 deleted the remove-redundant-check branch June 17, 2022 01:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed no-release-notes This pull request does not require release notes entry

Development

Successfully merging this pull request may close these issues.

2 participants