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

Trivial code cleanup #88505

Merged
merged 3 commits into from
Sep 7, 2022
Merged

Conversation

craigtaverner
Copy link
Contributor

This tiny cleanup was done as part of #88487, but is clearly not related to that PR. It should have no behavioural or performance implications and is simply a very small cleanup to a method that does a kind of String.join function.

@craigtaverner craigtaverner added :Analytics/Geo Indexing, search aggregations of geo points and shapes >tech debt labels Jul 13, 2022
@craigtaverner craigtaverner requested a review from iverase July 13, 2022 13:17
@elasticmachine elasticmachine added the Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) label Jul 13, 2022
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-analytics-geo (Team:Analytics)

@elasticsearchmachine
Copy link
Collaborator

Hi @craigtaverner, I've created a changelog YAML for you.

@@ -118,11 +118,9 @@ public String toString() {
StringBuilder buf = new StringBuilder("[");
boolean first = true;
for (E e : enums) {
if (first == false) buf.append(", ");
first = false;
Copy link
Contributor

Choose a reason for hiding this comment

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

we really like to add curly brackets even for those trivial statements.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

Copy link
Member

@not-napoleon not-napoleon left a comment

Choose a reason for hiding this comment

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

LGTM

@craigtaverner craigtaverner merged commit 97f0e98 into elastic:main Sep 7, 2022
@craigtaverner craigtaverner deleted the trivial_code_cleanup branch October 20, 2023 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Analytics/Geo Indexing, search aggregations of geo points and shapes Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) >tech debt v8.5.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants