diff --git a/google-http-client/src/main/java/com/google/api/client/util/SslUtils.java b/google-http-client/src/main/java/com/google/api/client/util/SslUtils.java index a578c7383..e7719d4f1 100644 --- a/google-http-client/src/main/java/com/google/api/client/util/SslUtils.java +++ b/google-http-client/src/main/java/com/google/api/client/util/SslUtils.java @@ -157,9 +157,11 @@ public static SSLContext trustAllSSLContext() throws GeneralSecurityException { new TrustManager[] { new X509TrustManager() { + @SuppressWarnings("TrustAllX509TrustManager") public void checkClientTrusted(X509Certificate[] chain, String authType) throws CertificateException {} + @SuppressWarnings("TrustAllX509TrustManager") public void checkServerTrusted(X509Certificate[] chain, String authType) throws CertificateException {}