Skip to content

Conversation

@original-brownbear
Copy link
Contributor

  • Make all fields that are effectively final actually final
  • Exploit the fact that script is final to build the keepBucket logic at construction time to avoid redundant condition in the loop

just a random thing I found when working on #32068 ... the todo wasn't terribly actionable but I think this makes the situation a little nicer at least :)

* Make all fields that are effectively `final` actually `final`
* Exploit the fact that `script` is `final` to build the keepBucket logic at construction time to avoid redundant condition in the loop
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search-aggs

@original-brownbear
Copy link
Contributor Author

Jenkins test this

Copy link
Member

@cbuescher cbuescher 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
Contributor Author

@cbuescher thanks for the review! Unfortunately this was superseded by #32068

@original-brownbear original-brownbear deleted the cleanup-todo-bucketselectorpipelineaggregator branch August 6, 2018 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants