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

Make class version logic more robust #66

Merged
merged 1 commit into from
Nov 10, 2022

Conversation

basil
Copy link
Member

@basil basil commented Nov 10, 2022

Noticed when reviewing jenkinsci/versioncolumn-plugin#75: a bit of a contrived use case, but pathological inputs to these methods were resulting in a NullPointerException rather than a clean error message. This PR makes these methods more robust and improves the error message.

@basil basil added the bug label Nov 10, 2022
Copy link
Contributor

@MarkEWaite MarkEWaite left a comment

Choose a reason for hiding this comment

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

Looks good to me. Thanks!

@MarkEWaite MarkEWaite merged commit dd492c2 into jenkinsci:master Nov 10, 2022
@basil basil deleted the robustness branch November 11, 2022 01:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants