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

Fix warnings, apply lambda suggestion #45423

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

punkratz312
Copy link

No description provided.

Copy link

quarkus-bot bot commented Jan 7, 2025

Thanks for your pull request!

Your pull request does not follow our editorial rules. Could you have a look?

  • description should not be empty, describe your intent or provide links to the issues this PR is fixing (using Fixes #NNNNN) or changelogs

This message is automatically generated by a bot.

Copy link

quarkus-bot bot commented Jan 7, 2025

/cc @ebullient (metrics), @jmartisk (metrics)

@punkratz312 punkratz312 changed the title Fix warnings Fix warnings, apply lambda suggestion Jan 7, 2025
@punkratz312 punkratz312 marked this pull request as ready for review January 7, 2025 17:55
Copy link
Contributor

@geoand geoand 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 change anonymous classes into lambdas

@punkratz312
Copy link
Author

@geoand

Thanks for the feedback. Could you clarify why? I applied the suggestion from my IDE, assuming they were equivalent and would improve readability. Is there a performance or functional difference in this context?
Thanks

@punkratz312 punkratz312 marked this pull request as draft January 8, 2025 15:36
@geoand
Copy link
Contributor

geoand commented Jan 8, 2025

Is there a performance or functional difference in this context?

There is a tiny performance cost associated with them

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.

2 participants