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
Add TrustManagerProvider #1654
Add TrustManagerProvider #1654
Conversation
2af2a8d
to
1256624
Compare
1256624
to
c8729cb
Compare
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.
Not every existing old class is a good guide ;-)
scm-webapp/src/main/java/sonia/scm/net/TrustManagerProvider.java
Outdated
Show resolved
Hide resolved
|
||
@Named("default") | ||
@Inject(optional = true) | ||
private Provider<TrustManager> trustManagerProvider; |
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.
Sonar doesn't like this field name. And indeed it does not reveal its intention. What about customTrustManagerProvider
?
|
||
import static org.assertj.core.api.Assertions.assertThat; | ||
|
||
@ExtendWith(MockitoExtension.class) |
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.
Mockito is not used here
6ffd5e2
to
6990b7d
Compare
6990b7d
to
85b8f7a
Compare
Kudos, SonarCloud Quality Gate passed! |
Proposed changes
Add trust manager provider
Your checklist for this pull request
Contributor:
gradle/changelog
or CHANGELOG.md is updated for pluginsReviewer:
Checklist for branch merge request (not required for forks)