We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I found a duplicate structure in the constructor.
To reduce code duplication and improve code reusability.
We can let one constructor call another constructor, and finally perform the actual assignment operation only in one constructor.
In each constructor, directly call the most complete constructor.
No response
The text was updated successfully, but these errors were encountered:
[ISSUE apache#8276] Merge duplicate code in DefaultMQProducer constru…
42cc6ce
…ctor
[ISSUE #8276] Merge duplicate code in DefaultMQProducer constructor (#…
1a73e01
…8277)
Successfully merging a pull request may close this issue.
Before Creating the Enhancement Request
Summary
I found a duplicate structure in the constructor.
Motivation
To reduce code duplication and improve code reusability.
Describe the Solution You'd Like
We can let one constructor call another constructor, and finally perform the actual assignment operation only in one constructor.
Describe Alternatives You've Considered
In each constructor, directly call the most complete constructor.
Additional Context
No response
The text was updated successfully, but these errors were encountered: