Skip to content

[refactor][test] Replace Anonymous type with lambda.#20217

Closed
liqiangcc wants to merge 1 commit intoapache:masterfrom
liqiangcc:master
Closed

[refactor][test] Replace Anonymous type with lambda.#20217
liqiangcc wants to merge 1 commit intoapache:masterfrom
liqiangcc:master

Conversation

@liqiangcc
Copy link
Contributor

Motivation

Replace Anonymous type with lambda.

Modifications

Replace Anonymous type with lambda.

Verifying this change

This change is a trivial rework / code cleanup without any test coverage.

Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

  • Dependencies (add or upgrade a dependency)
  • The public API
  • The schema
  • The default values of configurations
  • The threading model
  • The binary protocol
  • The REST endpoints
  • The admin CLI options
  • The metrics
  • Anything that affects deployment

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

Matching PR in forked repository

PR in forked repository:

@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label May 3, 2023
Copy link
Member

@tisonkun tisonkun left a comment

Choose a reason for hiding this comment

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

We don't have such style rule. So generally we don't format code to prevent conflict when cherry-picking. Different people have different preference. If you'd like to make this style a formal rule, feel free to start a discussion on the dev mailing list and update the style guide.

FYI -

@tisonkun
Copy link
Member

tisonkun commented May 3, 2023

Closing...

@tisonkun tisonkun closed this May 3, 2023
@tisonkun
Copy link
Member

tisonkun commented May 3, 2023

In another direction, you can make any effective improvement, bug fix or new feature, apply your style on the fly when modifying related code.

@liqiangcc
Copy link
Contributor Author

I suppose so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc-not-needed Your PR changes do not impact docs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants