-
Notifications
You must be signed in to change notification settings - Fork 916
Issue #3761 - add culprit classnames to provider error messages #3762
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
LGTM! Thanks for the contribution. |
String implText = | ||
impls.stream() | ||
.map(clazz -> clazz.getClass().getName()) | ||
.collect(Collectors.joining(",","[","]")); |
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.
Looks like checkstyle wants a space between the arguments here. Can you add those?
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.
Whoops, done!
Kudos, SonarCloud Quality Gate passed! |
Thanks @dagnir. |
@all-contributors please add @barryoneill for code |
I've put up a pull request to add @barryoneill! 🎉 |
Add the class names of the discovered providers to the provider failure messages.
Motivation and Context
Issue #3761
Modifications
"[fqdn1,fqdn2,fqdnN]"
formatTesting
Existing tests cover that the existing logic is not broken. There appear to be no tests around the actual message content, but I can add this if needed.
Types of changes
Checklist
mvn install
succeedsscripts/new-change
script and following the instructions. Commit the new file created by the script in.changes/next-release
with your changes.License