Skip to content

Commit

Permalink
Merge pull request #582 from /issues/581-suppress-custom-x509trustman…
Browse files Browse the repository at this point in the history
…ager

Suppress CustomX509TrustManager lint warning
  • Loading branch information
TomasKypta authored Apr 11, 2024
2 parents 8c67889 + 5a41a5d commit 235fa09
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ public class HttpClientSslNoValidationStrategy implements HttpClientValidationSt
public SSLSocketFactory getSSLSocketFactory() {

// Create a trust manager that does not validate certificate chains
@SuppressLint("CustomX509TrustManager")
final TrustManager[] trustAllCerts = new TrustManager[]{new X509TrustManager() {

@SuppressLint("TrustAllX509TrustManager")
Expand Down

0 comments on commit 235fa09

Please sign in to comment.