-
Notifications
You must be signed in to change notification settings - Fork 3k
Make TlsConfiguration#getName a default method #47170
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
Conversation
This comment has been minimized.
This comment has been minimized.
|
🎊 PR Preview 3040546 has been successfully built and deployed to https://quarkus-pr-main-47170-preview.surge.sh/version/main/guides/
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the change, @geoand
This was done in order to unbreak integrations in 3.20 LTS
The getName() method is not available in 3.20 yet. So you plan to backport it?
extensions/tls-registry/spi/src/main/java/io/quarkus/tls/TlsConfiguration.java
Outdated
Show resolved
Hide resolved
| */ | ||
| String getName(); | ||
| default String getName() { | ||
| return "unset"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wouldn't a unique default name be better - something like
| return "unset"; | |
| return "tls-configutation-" + System.identityHashCode(this); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see why it would be
If #46961 is, yes |
This was done in order to unbreak integrations in 3.20 LTS Co-authored-by: Peter Palaga <[email protected]>
Status for workflow
|
This comment has been minimized.
This comment has been minimized.
Status for workflow
|

This was done in order to unbreak integrations
in 3.20 LTS
Follows up on #46961.
cc @cescoffier @ppalaga