Skip to content

Conversation

@quaff
Copy link
Contributor

@quaff quaff commented Feb 19, 2021

Remove unnecessary code and reuse enum name.

@CLAassistant
Copy link

CLAassistant commented Feb 19, 2021

CLA assistant check
All committers have signed the CLA.

@sczyh30 sczyh30 requested a review from cdfive February 19, 2021 02:48
@cdfive
Copy link
Collaborator

cdfive commented Feb 19, 2021

It looks good, which make the code more concise.
I test it with sentinel-dubbo-adapter of lower version(1.8.1) and enums of new version(1.8.1-SNAPSHOT), it works well and seems to be no compatibility issue.

Copy link
Collaborator

@cdfive cdfive left a comment

Choose a reason for hiding this comment

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

LTGM

@sczyh30 sczyh30 added the kind/enhancement Category issues or prs related to enhancement. label Feb 23, 2021
@sczyh30 sczyh30 changed the title Simplify enums Simplify enums: remove unnecessary code and reuse enum name Feb 23, 2021
@sczyh30 sczyh30 merged commit df871b0 into alibaba:master Mar 4, 2021
@sczyh30
Copy link
Member

sczyh30 commented Mar 4, 2021

Thanks for contributing!

hughpearse pushed a commit to hughpearse/Sentinel that referenced this pull request Jun 2, 2021
linkolen pushed a commit to shivagowda/Sentinel that referenced this pull request Aug 4, 2021
linkolen added a commit to shivagowda/Sentinel that referenced this pull request Aug 4, 2021
Simplify enums: reuse enum name and remove unnecessary code (alibaba#2032)
linkolen pushed a commit to shivagowda/Sentinel that referenced this pull request Aug 14, 2021
linkolen pushed a commit to shivagowda/Sentinel that referenced this pull request Aug 14, 2021
linkolen pushed a commit to shivagowda/Sentinel that referenced this pull request Aug 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/enhancement Category issues or prs related to enhancement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants