Skip to content

Trivial code cleanup#88505

Merged
craigtaverner merged 3 commits intoelastic:mainfrom
craigtaverner:trivial_code_cleanup
Sep 7, 2022
Merged

Trivial code cleanup#88505
craigtaverner merged 3 commits intoelastic:mainfrom
craigtaverner:trivial_code_cleanup

Conversation

@craigtaverner
Copy link
Copy Markdown
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
Copy Markdown
Collaborator

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

@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

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

boolean first = true;
for (E e : enums) {
if (first == false) buf.append(", ");
first = false;
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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) v8.5.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants