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

[ISSUE #22] make codeCov of mqtt.cs.channel more than 80% #45

Merged
merged 1 commit into from
Apr 6, 2022
Merged

[ISSUE #22] make codeCov of mqtt.cs.channel more than 80% #45

merged 1 commit into from
Apr 6, 2022

Conversation

YxAc
Copy link
Contributor

@YxAc YxAc commented Mar 30, 2022

part of enhance #22

@duhenglucky duhenglucky merged commit 4084f86 into apache:main Apr 6, 2022
return true;
}
return (Boolean)obj;
return (Boolean) getInfo(channel).get(CHANNEL_CLEAN_SESSION_KEY);
Copy link
Contributor

Choose a reason for hiding this comment

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

in high concurrency scenarios, when the clear(Channel channel) method is called, NPE will be triggered here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@tianliuliu yes, that's my mistake. See you've fixed it, thanks for your time and sorry for the trouble.

Copy link
Contributor

Choose a reason for hiding this comment

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

@tianliuliu yes, that's my mistake. See you've fixed it, thanks for your time and sorry for the trouble.

it does not matter, you are welcome.

return false;
}
return (boolean)obj;
return (boolean) getInfo(channel).get(CHANNEL_EXT_CHANGE_KEY);
Copy link
Contributor

Choose a reason for hiding this comment

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

same as the above comment

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.

3 participants