Remove a few more references

This commit is contained in:
Philip Whitehouse 2017-03-18 13:02:05 +00:00 committed by Vincent Breitmoser
parent a2092d6ac3
commit 31e41e7b02

View file

@ -1,8 +1,6 @@
package com.fsck.k9.mail.ssl;
import android.util.Log;
import com.fsck.k9.mail.CertificateChainException;
import javax.net.ssl.SSLException;
@ -10,6 +8,7 @@ import javax.net.ssl.TrustManager;
import javax.net.ssl.X509TrustManager;
import org.apache.http.conn.ssl.StrictHostnameVerifier;
import timber.log.Timber;
import java.security.KeyStore;
import java.security.KeyStoreException;
@ -20,8 +19,6 @@ import java.util.HashMap;
import java.util.Map;
public final class TrustManagerFactory {
private static final String LOG_TAG = "TrustManagerFactory";
private static X509TrustManager defaultTrustManager;
private static LocalKeyStore keyStore;
@ -108,9 +105,9 @@ public final class TrustManagerFactory {
}
}
} catch (NoSuchAlgorithmException e) {
Log.e(LOG_TAG, "Unable to get X509 Trust Manager ", e);
Timber.e(e, "Unable to get X509 Trust Manager ");
} catch (KeyStoreException e) {
Log.e(LOG_TAG, "Key Store exception while initializing TrustManagerFactory ", e);
Timber.e(e, "Key Store exception while initializing TrustManagerFactory");
}
}