Skip to content

Minor Cleanups in QueryPhase#39680

Merged
original-brownbear merged 1 commit intoelastic:masterfrom
original-brownbear:simple-cleanup-query-phase
Mar 5, 2019
Merged

Minor Cleanups in QueryPhase#39680
original-brownbear merged 1 commit intoelastic:masterfrom
original-brownbear:simple-cleanup-query-phase

Conversation

@original-brownbear
Copy link
Copy Markdown
Contributor

  • 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 #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
Copy Markdown
Collaborator

Pinging @elastic/es-search

Copy link
Copy Markdown
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
Copy Markdown
Contributor 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 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.

4 participants