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
Remove all deprecated fields and classes for 4.0 #222
Conversation
Pull Request Test Coverage Report for Build 855
💛 - Coveralls |
@olamy, @artkoshelev PTAL |
try { | ||
session = site.getSession(); | ||
session.getMyPermissions(); | ||
return FormValidation.ok("Success"); | ||
} catch (RestClientException e) { | ||
} catch (RuntimeException e) { |
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.
that's significant change of method contract, seems not related to described changes
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.
This change was done to cover the frequent NPE case and to log it accordingly instead of throwing it as this method is supposed to return FormValidation error, so for me the contract stays the same.
Kudos, SonarCloud Quality Gate passed! 0 Bugs |
a4578c4
to
48fcb6d
Compare
48fcb6d
to
c9588d2
Compare
@olamy any thoughts or things you are not happy about? 🤖 |
No description provided.