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

Avoid some useless allocations in FaultToleranceScanner #45539

Closed
wants to merge 1 commit into from

Conversation

gsmet
Copy link
Member

@gsmet gsmet commented Jan 13, 2025

Relates to #45509

ClassInfo beanClass, Set<Class<? extends Annotation>> directlyPresent) {

DotName annotationName = DotName.createSimple(annotationType);
Copy link
Member Author

Choose a reason for hiding this comment

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

I had an hesitation about adding a safeguard here to check consistency but I would say our tests should cover this?

Copy link
Contributor

Choose a reason for hiding this comment

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

This is fine, yes. It's a private method after all :-)

@Ladicek
Copy link
Contributor

Ladicek commented Jan 13, 2025

I already did this locally, together with a few more improvements in that class. Not sure if I should force-push here?

@gsmet
Copy link
Member Author

gsmet commented Jan 13, 2025

We can close this if you have further improvements, no worries.

@gsmet gsmet closed this Jan 13, 2025
@quarkus-bot quarkus-bot bot added the triage/invalid This doesn't seem right label Jan 13, 2025
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