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

Remove fields declaration hiding another field or variable #40

Merged
merged 1 commit into from
Mar 16, 2018

Conversation

jmini
Copy link
Contributor

@jmini jmini commented Mar 15, 2018

Having field declarations that hides another field or variable is in my opinion a bad practice in java. Name shadowing can cause subtle errors and should be avoided.

With this pull request, I propose to clean-up the code.

@webron webron requested a review from HugoMario March 15, 2018 16:08
@HugoMario HugoMario merged commit c22a2c2 into swagger-api:master Mar 16, 2018
jmini added a commit to jmini/swagger-codegen-generators that referenced this pull request Mar 16, 2018
Introduced due conflict between swagger-api#40 and swagger-api#41
jmini added a commit to jmini/swagger-codegen-generators that referenced this pull request Mar 16, 2018
Introduced due to a conflict between swagger-api#40 and swagger-api#41
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.

2 participants