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

Use "internalSet" instead of normal setter. [SPR-16809] #21349

Open
spring-projects-issues opened this issue May 10, 2018 · 0 comments
Open

Use "internalSet" instead of normal setter. [SPR-16809] #21349

spring-projects-issues opened this issue May 10, 2018 · 0 comments

Comments

@spring-projects-issues
Copy link
Collaborator

@spring-projects-issues spring-projects-issues commented May 10, 2018

Zhang Jie opened SPR-16809 and commented

Using "internalSet" instead of normal setter can avoid checking int param, because if constants.asNumber() works as expected and does't throw exception, the param checking in normal setter will never fail.


Affects: 5.0.6

Referenced from: pull request #1825

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.