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

Checkstyle shadows vars pt8 #81147

Merged

Conversation

pugnascotia
Copy link
Contributor

@pugnascotia pugnascotia commented Nov 30, 2021

Part of #19752. Fix more instances where local variable names were
shadowing field names. Also:

  • Remove unused bits and pieces from XPackClientPlugin.
  • Expand the possible method names that are skipped when
    checking for shadowed vars, and allow shadowed vars in
    builder classes.

@elasticmachine elasticmachine added the Team:Delivery Meta label for Delivery team label Nov 30, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-delivery (Team:Delivery)

Copy link
Contributor

@mark-vieira mark-vieira left a comment

Choose a reason for hiding this comment

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

LGTM

@pugnascotia
Copy link
Contributor Author

@elasticmachine update branch

@pugnascotia pugnascotia added the auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) label Dec 2, 2021
@elasticsearchmachine elasticsearchmachine merged commit c1efe47 into elastic:master Dec 2, 2021
pugnascotia added a commit that referenced this pull request Dec 2, 2021
Part of #19752. Fix more instances where local variable names were
shadowing field names. Also:    * Remove unused bits and pieces from
`XPackClientPlugin`.    * Expand the possible method names that are
skipped when       checking for shadowed vars, and allow shadowed vars
in       builder classes.
@pugnascotia
Copy link
Contributor Author

Backported to 8.0 in 9950705.

pugnascotia added a commit to pugnascotia/elasticsearch that referenced this pull request Dec 2, 2021
Part of elastic#19752. Fix more instances where local variable names were
shadowing field names. Also expand the possible method names that are
skipped when checking for shadowed vars, and allow shadowed vars in
builder classes.
elasticsearchmachine pushed a commit that referenced this pull request Dec 2, 2021
Part of #19752. Fix more instances where local variable names were
shadowing field names. Also expand the possible method names that are
skipped when checking for shadowed vars, and allow shadowed vars in
builder classes.
@pugnascotia pugnascotia deleted the checkstyle-shadows-vars-pt8 branch December 3, 2021 11:38
@danhermann danhermann added v7.16.0 and removed v7.16.1 labels Dec 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) :Delivery/Tooling Developer tooliing and automation >refactoring Team:Delivery Meta label for Delivery team v7.16.0 v8.0.0-rc1 v8.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants