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

Minor Cleanups in QueryPhase #39680

Conversation

original-brownbear
Copy link
Member

  • Soften overly strict cast to allow the use of DeterministicTaskQueue in this class for the new tests incoming in More Snapshot Resiliency Testing #39504
  • Remove two redundant variables and lower visibility in two possible spots
  • Make field final

I only really needed the first change as a dependency for #39504 but I figured I'd clean up the other spots while I'm at it :)

* Soften redundant cast to allow use of `DeterministicTaskQueue` in this class for elastic#39504
* Remove two redundant variables and lower visibility in two possible spots
* Make field `final`
@original-brownbear original-brownbear added >non-issue :Search/Search Search-related issues that do not fall into other categories >refactoring v8.0.0 v7.2.0 labels Mar 5, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search

Copy link
Contributor

@jimczi jimczi left a comment

Choose a reason for hiding this comment

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

LGTM

@original-brownbear
Copy link
Member Author

@jimczi thanks!

@original-brownbear original-brownbear merged commit edbb98a into elastic:master Mar 5, 2019
@original-brownbear original-brownbear deleted the simple-cleanup-query-phase branch March 5, 2019 11:52
original-brownbear added a commit to original-brownbear/elasticsearch that referenced this pull request Mar 5, 2019
* Soften redundant cast to allow use of `DeterministicTaskQueue` in this class for elastic#39504
* Remove two redundant variables and lower visibility in two possible spots
* Make field `final`
original-brownbear added a commit that referenced this pull request Mar 5, 2019
* Soften redundant cast to allow use of `DeterministicTaskQueue` in this class for #39504
* Remove two redundant variables and lower visibility in two possible spots
* Make field `final`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>non-issue >refactoring :Search/Search Search-related issues that do not fall into other categories v7.2.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants